Home > Cannot Create > Useradd Cannot Create Directory /opt/opsview/home

Useradd Cannot Create Directory /opt/opsview/home

Contents

The comment can be added as a single line without any spaces. Download and Compile NRPE NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. Creating mailbox file: File exists Now, i'm going to check whether the user account got created or not. Isn't it possible to create any homedirectory that you want? his comment is here

e.g isn't compatible or something like that? Jantje View Public Profile Find all posts by Jantje #6 23rd October 2005, 10:23 PM smfinley Offline Retired Community Manager Join Date: Jul 2004 Posts: 1,334 Try "system-config-users" Do you have any input on how i can solve this. I have set the chmod to 777 on both files but it's not I have also tried chown -R user /homeI still seem to be getting the same errors?

Useradd Cannot Create Directory Home

It looks like the 'useradd' command has changed in FC4? I do this because it gives more flexibility in managing the software afterwards. greetz Jan Jantje View Public Profile Find all posts by Jantje #2 23rd October 2005, 09:25 PM giulix Offline Registered Join Date: Oct 2005 Location: CE(S)T Posts: 3,240 Ravi Saive says: @Hyo, At least you should have basic knowledge of Hacking...

daviddoria Using Fedora 6 20th June 2008 03:56 PM unable to create any directory that uses numbers as the directory name fed.linuxgossip Using Fedora 19 8th October 2007 03:51 PM Current Rahul Reply to Rahul August 29, 2013 at 4:34 am Hi Jon, 1. Whats new in Nagios Core 4? Create User Linux Ubuntu Continue on to NRPE.

Link Liberty January 17, 2010, 5:18 am Here's a command I use all the time useradd -d /home/kevin -s /bin/bash -m kevin This adds a user ‘kevin', makes the home directory Useradd: Cannot Create Directory In Linux please tell Raja Reply to Raja February 11, 2016 at 8:21 pm Hey Bilal, Not sure if you have the correct user name. UserName : Login id of the user. To avoid that and to make the user as the member of the default group you need to give the option -n.

Proper command to remove the user's account, user's home directory and mail spool as part of the deletion process : # userdel --remove ehowstuff or # userdel -r ehowstuff Warning : Linux Create Group I have doen theis on CentOS 6.5 then 7 same results. This can also be executed in batch mode as it cannot ask any input. # newusers FILENAME This file format is same as the password file. but my goal was to make it all in one effort.

Useradd: Cannot Create Directory In Linux

ftp://fr2.rpmfind.net/linux/remi/enterprise/6/remi/x86_64/php-mysql-5.4.19-1.el6.remi.x86_64.rpm ftp://fr2.rpmfind.net/linux/remi/enterprise/6/remi/x86_64/php-pdo-5.4.19-1.el6.remi.x86_64.rpm If you still get any dependencey error, download that at below location and install manually ftp://fr2.rpmfind.net/linux/remi/enterprise/6/remi/x86_64/ I hope it will help you.. Place it in /etc/apache2/sites-available/nagios.conf: ServerAdmin [email protected] ServerName nagios.example.org DocumentRoot /var/www/nagios Options FollowSymLinks AllowOverride None Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from Useradd Cannot Create Directory Home This can also happen when files created by a deleted user exist outside their home directory. Ansible Useradd: Cannot Create Directory We also make sure the user Apache runs as can access the Nagios files by adding the www-data user to the nagios groups.

It enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. http://bovbjerg.net/cannot-create/useradd-cannot-create-directory-var-www-path-to-your-dir.php Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. ClosePlease support the site By clicking any of these buttons you help our site to get better
Follow Me Need System Admin Help Raymii.org Quis custodiet ipsos custodes? You might need to install apt-file.) Now make and make install: make all checkinstall Same thing as above, require libc6, perl in the dependencies, name it correctly (nrpe) and give it Linux Useradd Example

  1. Creating home directory `/home/spidey' ...
  2. Ravi Saive says: @Naeem, Yes, you should have bootable CD/DVD or USB media...
  3. Linux System Administrator Bundle with 7-Courses (96% off) Add to Cart - $69 Ending In: 3 days CentOS & Red Hat Certified System Administrator Course (90% off) Add to Cart -
  4. So the session not disconnected automatically. [emailprotected] [/home]# ll -h total 64K drwx--x--x. 14 root root 4.0K Jan 3 09:03 ./ dr-xr-xr-x. 23 root root 4.0K Dec 16 22:32 ../ -rw-r--r--
  5. No more embedded perl: - Embedded Perl - Embedded Perl has historically been the least tested and the most problem prone part of Nagios Core.
  6. By default, the password expiry value set to -1 means never expire.
  7. Do you know why mariadb is installing instead of MySQL?
  8. a) Get userdel manual : # man userdel userdel - delete a user account and related files b) userdel username removes the user from /etc/passwd, but leaves the home directory intact
  9. If so then a standard user cannot use the commands located in the /sbin/ directory.

For example, to add a new user called ‘tecmint‘, use the following command. [[email protected] ~]# useradd tecmint When we add a new user in Linux with ‘useradd‘ command it gets created Here in this example, will add a user ‘tecmint‘ without login shell i.e. ‘/sbin/nologin‘ shell. [[email protected] ~]# useradd -s /sbin/nologin tecmint You can check assigned shell to the user in ‘/etc/passwd‘ mkdir /etc/apache2/ssl cd /etc/apache2/ssl a2enmod ssl openssl req -x509 -nodes -days 365 -newkey rsa:4096 -out nagios.pem -keyout nagios.key We also create a folder for nagios under /var/www: mkdir -p /var/www/nagios4/ chown weblink It is nagiosadmin and not nagioadmin .

Following example creates user ramesh with group ramesh. Useradd Vs Adduser Nagios is an open source computer system monitoring, network monitoring and infrastructure monitoring software application. Join Over 300K+ Linux Users 177,942 8,310 37,548 Are you subscribed? 51 Useful Lesser Known Commands for Linux Users 25 Hardening Security Tips for Linux Servers 60 Commands of Linux :

For MysQL # yum install php-mysql I hope above steps will fix your issues.

You are currently viewing LQ as a guest. It stays the same default directory /home/lies. Link hans berger June 25, 2009, 3:43 am Sry, but isn't the 1009 of bart in conflict with the uid of marge? Linux Create User With Password I've also updated the homer-family.txt file with relatively stronger password.

Monitoring Tools 41 Comments Nagios is the most popular, open source, powerful monitoring system. See the ouput. [emailprotected] [~/backup]# find / -name mageshm /var/spool/cron/mageshm Output: [emailprotected] [/var/spool/cron]# ll -h total 20K drwx------. 2 root root 4.0K Jan 3 09:37 ./ drwxr-xr-x. 14 root root 4.0K Previous Article How to Install Nagios 4.1 (Monitoring Server) on Ubuntu 16.04 and 12.04 LTSNext Article How to Install ElasticSearch (Multi Node) Cluster on CentOS/RHEL, Ubuntu & Debian 41 Comments check over here thanx for your quick reply anyway!

The file is used to store users information and the entry should be. Most configurations set the host name attribute to the DNS host name making the address attribute redundant. - Both hosts and services now support an hourly value attribute. User ID (UID): Every user must have a User ID (UID) User Identification Number. MRTG We are going to use MRTG to create some information about how Nagios is running.

Now I'm quite sure i've installed everything properly. Nagios supports notes_url and action_url. It features several APIs that are used to extend its capabilities to perform additional tasks, is implemented as a daemon written in C for performance reasons, and is designed to run