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?
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.
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:
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
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 :
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