From: <abe...@us...> - 2016-11-26 22:50:13
|
Revision: 7990 http://sourceforge.net/p/astlinux/code/7990 Author: abelbeck Date: 2016-11-26 22:50:11 +0000 (Sat, 26 Nov 2016) Log Message: ----------- Add user/group for 'ntp' and 'avahi' Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/etc/group branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN branches/1.0/project/astlinux/target_skeleton/etc/passwd branches/1.0/project/astlinux/target_skeleton/etc/shadow branches/1.0/project/astlinux/target_skeleton/etc/shadow- Modified: branches/1.0/project/astlinux/target_skeleton/etc/group =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/group 2016-11-26 22:16:48 UTC (rev 7989) +++ branches/1.0/project/astlinux/target_skeleton/etc/group 2016-11-26 22:50:11 UTC (rev 7990) @@ -10,7 +10,9 @@ floppy:x:25: tape:x:26: audio:x:29: +ntp:x:38: video:x:44: +avahi:x:70: users:x:100: prosody:x:130: ldap:x:439: Modified: branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN 2016-11-26 22:16:48 UTC (rev 7989) +++ branches/1.0/project/astlinux/target_skeleton/etc/init.d/FIRSTRUN 2016-11-26 22:50:11 UTC (rev 7990) @@ -10,7 +10,7 @@ local base="$1" user file IFS unset IFS - for user in zabbix prosody ldap kamailio; do + for user in zabbix prosody ldap kamailio ntp avahi; do for file in passwd shadow group; do if ! grep -q "^${user}:" "/etc/${file}"; then grep "^${user}:" "${base}/etc/${file}" >> "/etc/${file}" Modified: branches/1.0/project/astlinux/target_skeleton/etc/passwd =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/passwd 2016-11-26 22:16:48 UTC (rev 7989) +++ branches/1.0/project/astlinux/target_skeleton/etc/passwd 2016-11-26 22:50:11 UTC (rev 7990) @@ -1,6 +1,8 @@ root:x:0:0:root:/root:/bin/bash sshd:x:22:22:sshd:/dev/null:/bin/false ftp:x:21:21:ftp user:/home/ftp:/bin/false +ntp:x:38:38:NTP-server:/var/lib/ntp:/bin/false +avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/bin/false prosody:x:130:130:XMPP-server:/etc/prosody/data:/bin/false ldap:x:439:439:LDAP-server:/var/lib/ldap:/bin/false zabbix:x:906:906:Zabbix User:/dev/null:/bin/false Modified: branches/1.0/project/astlinux/target_skeleton/etc/shadow =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/shadow 2016-11-26 22:16:48 UTC (rev 7989) +++ branches/1.0/project/astlinux/target_skeleton/etc/shadow 2016-11-26 22:50:11 UTC (rev 7990) @@ -1,6 +1,8 @@ root:$1$$axJeFIpwicqOTwFpuoUAs1:12215:0:99999:7::: sshd:!:0:0:99999:7::: ftp:!:0:0:99999:7::: +ntp:!:0:0:99999:7::: +avahi:!:0:0:99999:7::: prosody:!:0:0:99999:7::: ldap:!:0:0:99999:7::: zabbix:!:0:0:99999:7::: Modified: branches/1.0/project/astlinux/target_skeleton/etc/shadow- =================================================================== --- branches/1.0/project/astlinux/target_skeleton/etc/shadow- 2016-11-26 22:16:48 UTC (rev 7989) +++ branches/1.0/project/astlinux/target_skeleton/etc/shadow- 2016-11-26 22:50:11 UTC (rev 7990) @@ -1,6 +1,8 @@ root:$1$$axJeFIpwicqOTwFpuoUAs1:12215:0:99999:7::: sshd:!:0:0:99999:7::: ftp:!:0:0:99999:7::: +ntp:!:0:0:99999:7::: +avahi:!:0:0:99999:7::: prosody:!:0:0:99999:7::: ldap:!:0:0:99999:7::: zabbix:!:0:0:99999:7::: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |