diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-16 16:21:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-16 16:21:35 +0000 |
commit | 4653e1fb3db3b0c6132ffdb56880443f1915786f (patch) | |
tree | 6c3ddb502c81a6652138427007b1db47959f37da /main/nagios/nagios.pre-install | |
parent | c3ca0dddf1bdf17d5453f130f791b67f2e80fba4 (diff) | |
download | aports-4653e1fb3db3b0c6132ffdb56880443f1915786f.tar.bz2 aports-4653e1fb3db3b0c6132ffdb56880443f1915786f.tar.xz |
main/nagios: use user 'nagios' instead of 'nobody'
fixes #375
Diffstat (limited to 'main/nagios/nagios.pre-install')
-rw-r--r-- | main/nagios/nagios.pre-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/nagios/nagios.pre-install b/main/nagios/nagios.pre-install new file mode 100644 index 0000000000..0e036c6a44 --- /dev/null +++ b/main/nagios/nagios.pre-install @@ -0,0 +1,4 @@ +#!/bin/sh + +adduser -S -H -h /var/nagios -s /bin/false -D nagios 2>/dev/null +exit 0 |