forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etc: synchronize master.password, group to NetBSD
IMPORTANT: this change has a docs/UPDATING entry! This change is a long overdue switch-over from the old MINIX set of user and group accounts to the NetBSD set. This switch-over is increasingly important now that we are importing more and more utilities from NetBSD, several of which expect various user accounts to exist. By switching over in one go, we save ourselves various headaches in the long run, even if the switch-over itself is a bit painful for existing MINIX users. The newly imported master.passwd and group files have three exceptions compared to their NetBSD originals: 1. There is a custom "service" account for MINIX 3 services. This account is used to limit run-time privileges of various system services, and is not used for any files on disk. Its user ID may be changed later, but should always correspond to whatever the SERVICE_UID definition is set to. 2. The user "bin" has its shell set to /bin/sh, instead of NetBSD's /sbin/nologin. The reason for this is that the test set in /usr/tests/minix-posix will not be able to run otherwise. 3. The group "operator" has been set to group ID 0, to match its old value. This tweak is purely for transitioning purposes: as of writing, pkgsrc packages are still using root:operator as owner and group for most installed files. Sometime later, we can change back "operator" to group ID 5 without breaking anything, because it does not appear that this group name is used for anything important. Change-Id: I689bcfff4cf7ba85c27d1ae579057fa3f8019c68
- Loading branch information
Showing
25 changed files
with
157 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
operator:*:0: | ||
daemon:*:1: | ||
bin:*:2: | ||
other:*:3: | ||
tty:*:4: | ||
uucp:*:5: | ||
news:*:6: | ||
ftp:*:7: | ||
kmem:*:8: | ||
www:*:9: | ||
driver:*:10: | ||
server:*:11: | ||
wheel:*:0:root | ||
daemon:*:1:daemon | ||
kmem:*:2:root | ||
sys:*:3:root | ||
tty:*:4:root | ||
operator:*:0:root | ||
mail:*:6: | ||
bin:*:7: | ||
wsrc:*:9: | ||
maildrop:*:11: | ||
postfix:*:12: | ||
games:*:13: | ||
named:*:14: | ||
ntpd:*:15: | ||
sshd:*:16: | ||
_pflogd:*:18: | ||
_rwhod:*:19: | ||
staff:*:20:root | ||
_proxy:*:21: | ||
_timedc:*:22: | ||
_sdpd:*:23: | ||
_httpd:*:24: | ||
_mdnsd:*:25: | ||
_tests:*:26: | ||
_tcpdump:*:27: | ||
smtpd:*:40: | ||
postfix:*:41: | ||
maildrop:*:42: | ||
mail:*:43: | ||
sshd:*:44: | ||
nogroup:*:99: | ||
_tss:*:28: | ||
_gpio:*:29: | ||
_rtadvd:*:30: | ||
guest:*:31:root | ||
nobody:*:39: | ||
utmp:*:45: | ||
authpf:*:72: | ||
users:*:100: | ||
dialer:*:117: | ||
nogroup:*:32766: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
root::0:0::0:0:Big Brother:/root:/bin/sh | ||
daemon:*:1:1::0:0:The Deuce:/etc:/bin/sh | ||
bin:*:2:0::0:0:Binaries Commands and Source:/nonexistent:/bin/sh | ||
uucp:*:5:5::0:0:UNIX to UNIX copy:/usr/spool/uucp:/usr/bin/uucico | ||
news:*:6:6::0:0:Usenet news:/usr/spool/news:/bin/sh | ||
ftp:*:7:7::0:0:Anonymous FTP:/usr/ftp:/bin/sh | ||
www:*:9:9::0:0:World Wide Web:/usr/www:/bin/sh | ||
driver:*:10:10::0:0:Device Drivers:/:/bin/sh | ||
server:*:11:11::0:0:OS Servers:/:/bin/sh | ||
service:*:12:12::0:0:System Services:/:/bin/sh | ||
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:/usr/bin/false | ||
postgres:*:30:30::0:0:postgresql:/:/usr/bin/false | ||
games:*:9998:13::0:0:games:/:/bin/sh | ||
nobody:*:9999:39::0:0:Unprivileged user:/tmp:/bin/sh | ||
root::0:0::0:0:Charlie &:/root:/bin/sh | ||
toor:*:0:0::0:0:Bourne-again Superuser:/root:/bin/sh | ||
daemon:*:1:1::0:0:The devil himself:/:/sbin/nologin | ||
operator:*:2:5::0:0:System &:/usr/guest/operator:/sbin/nologin | ||
bin:*:3:7::0:0:Binaries Commands and Source:/:/bin/sh | ||
games:*:7:13::0:0:& pseudo-user:/usr/games:/sbin/nologin | ||
postfix:*:12:12::0:0:& pseudo-user:/var/spool/postfix:/sbin/nologin | ||
named:*:14:14::0:0:& pseudo-user:/var/chroot/named:/sbin/nologin | ||
ntpd:*:15:15::0:0:& pseudo-user:/var/chroot/ntpd:/sbin/nologin | ||
sshd:*:16:16::0:0:& pseudo-user:/var/chroot/sshd:/sbin/nologin | ||
_pflogd:*:18:18::0:0:& pseudo-user:/var/chroot/pflogd:/sbin/nologin | ||
_rwhod:*:19:19::0:0:& pseudo-user:/var/rwho:/sbin/nologin | ||
_proxy:*:21:21::0:0:Proxy Services:/nonexistent:/sbin/nologin | ||
_timedc:*:22:22::0:0:& pseudo-user:/nonexistent:/sbin/nologin | ||
_sdpd:*:23:23::0:0:& pseudo-user:/nonexistent:/sbin/nologin | ||
_httpd:*:24:24::0:0:& pseudo-user:/var/www:/sbin/nologin | ||
_mdnsd:*:25:25::0:0:& pseudo-user:/nonexistent:/sbin/nologin | ||
_tests:*:26:26::0:0:& pseudo-user:/nonexistent:/sbin/nologin | ||
_tcpdump:*:27:27::0:0:& pseudo-user:/var/chroot/tcpdump:/sbin/nologin | ||
_tss:*:28:28::0:0:& pseudo-user:/var/tpm:/sbin/nologin | ||
_rtadvd:*:30:30::0:0:& pseudo-user:/var/chroot/rtadvd:/sbin/nologin | ||
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/nonexistent:/sbin/nologin | ||
service:*:999:0::0:0:System Services:/:/sbin/nologin | ||
nobody:*:32767:39::0:0:Unprivileged user:/nonexistent:/sbin/nologin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
PROG= term | ||
BINGRP= uucp | ||
BINMODE= 2755 | ||
|
||
.include <bsd.prog.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.