[Nagios-devel] Documentation Quickstart-Guide (Ubuntu)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Documentation Quickstart-Guide (Ubuntu)

Post by Guest »

Hi,
the present Quickstartguide for Ubuntu states:

----
Create a new nagios user account and give it a password.
/usr/sbin/useradd -m nagios
passwd nagios
On Ubuntu server edition (6.01 and possible newer versions), you will =20=

need to also add a nagios group
(it=92s not created by default). You should be able to skip this step on =
=20
desktop editions of Ubuntu.
/usr/sbin/groupadd nagios
/usr/sbin/usermod -G nagios nagios
----

At least for Ubuntu Server 8.04.2 this no longer true. The group =20
nagios is created automatically. But the shell is set to /bin/sh by =20
default, which stops bash-completion from working, when logged in as =20
nagios.

The documentation should be therefore:
----
Create a new nagios user account and give it a password.
/usr/sbin/useradd -m -s /bin/bash nagios
passwd nagios
On older Ubuntu server editions (f.e. 6.01), you will need to also add =20=

a nagios group
(it=92s not created by default). You should be able to skip this step on =
=20
desktop- or newer server-editions of Ubuntu.
/usr/sbin/groupadd nagios
/usr/sbin/usermod -G nagios nagios
----

Cheers, Ingo

--=20
Ingo Lantschner
1060 Vienna-Austria
Mobil +43-664-143 84 18






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked