LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-26-2010, 09:57 AM   #1
mjfuentes
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
how to add new user account Nagios over Ubuntu Server


Hi, I need to add a aditional user account for monitoring web over nagios.

any idea?, is possible?

regards
 
Old 11-26-2010, 09:57 AM   #2
mjfuentes
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
...
 
Old 12-07-2010, 10:28 AM   #3
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
Hi There,

Just edit your file cgi.cfg and add the new user at the end of each of the following line (separate each user name by a coma):
Code:
authorized_for_system_information=nagiosadmin,newuser
authorized_for_configuration_information=nagiosadmin,newuser
authorized_for_system_commands=nagiosadmin,newuser
authorized_for_all_services=nagiosadmin,newuser
authorized_for_all_hosts=nagiosadmin,newuser
authorized_for_all_service_commands=nagiosadmin,newuser
authorized_for_all_host_commands=nagiosadmin,newuser
Then, set the password for that user, run:
Code:
htpasswd /usr/local/nagios/etc/htpasswd.users newuser
and finally restart Apache:
Code:
/etc/init.d/apache2 restart
I hope that help,
Angel

Last edited by angel115; 12-07-2010 at 10:31 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What's the command to add these groups to user account? cola Slackware 13 01-30-2010 04:39 AM
How to add user account(non-root)? cola Slackware 9 09-16-2009 07:13 PM
"To add a new user account, log in to the root account" how do i do this (im new) pierce77x Linux - Newbie 4 12-28-2008 02:44 PM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 10:52 PM
add my user account to the root group konabumm Linux - Newbie 2 08-01-2003 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration