From 01e6b4e2f360e634c29c3b029ead06c0248f8797 Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Tue, 2 Apr 2013 21:33:01 +0000 Subject: [PATCH] master.passwd/group: add _ntp user and group. Update UPDATING. --- docs/UPDATING | 11 +++++++++++ etc/group | 1 + etc/master.passwd | 1 + 3 files changed, 13 insertions(+) diff --git a/docs/UPDATING b/docs/UPDATING index e12acc472..bd22aab0f 100644 --- a/docs/UPDATING +++ b/docs/UPDATING @@ -1,3 +1,14 @@ +20130403: + With the addition of ntpd(8), an _ntp user and group must be added. + Run these commands to add the _ntp user and group: + + # groupadd -g 123 _ntp + # useradd -g _ntp -s /bin/false -d / -u 123 _ntp + + It is safe to ignore the warning about /bin/false not being listed + in /etc/shells. To run ntpd on start-up, create /etc/ntpd.conf + See `man ntpd` and `man ntpd.conf` for details. + 20130312: /bin/ksh was imported and needs to be added to your /etc/shells. Run this command to add it: diff --git a/etc/group b/etc/group index 4be3bee20..ca8f2f14f 100755 --- a/etc/group +++ b/etc/group @@ -27,3 +27,4 @@ mail:*:43: sshd:*:44: nogroup:*:99: users:*:100: +_ntp:*:123: diff --git a/etc/master.passwd b/etc/master.passwd index 86fd414d6..9bfe439d4 100644 --- a/etc/master.passwd +++ b/etc/master.passwd @@ -13,5 +13,6 @@ sshd:*:22:22::0:0:sshd:/:/bin/sh smtpd:*:25:25::0:0:smtpd:/:/bin/sh postfix:*:27:27::0:0:postfix:/usr/var/spool/postfix:/bin/false postgres:*:30:30::0:0:postgresql:/:/bin/false +_ntp:*:123:123::0:0:openntpd:/:/bin/false games:*:9998:13::0:0:games:/:/bin/sh nobody:*:9999:39::0:0:Unprivileged user:/tmp:/bin/sh