shadow: add wheel/dialout groups, remove unneeded man user.
--HG-- extra : convert_revision : 58ef5f6c406bda132d624e9f1d7ebed072401e2a
This commit is contained in:
parent
0e22e7dac8
commit
d25232651f
1 changed files with 16 additions and 15 deletions
|
@ -12,7 +12,6 @@ create_passwd()
|
|||
cat > ./etc/passwd <<_EOF
|
||||
root:x:0:0:root:/root:/bin/bash
|
||||
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
|
||||
man:x:16:16:Manual user:/dev/null:/bin/false
|
||||
_EOF
|
||||
echo "Created default /etc/passwd file."
|
||||
}
|
||||
|
@ -25,20 +24,22 @@ root:x:0:
|
|||
bin:x:1:
|
||||
sys:x:2:
|
||||
kmem:x:3:
|
||||
tty:x:4:
|
||||
tape:x:5:
|
||||
daemon:x:6:
|
||||
floppy:x:7:
|
||||
disk:x:8:
|
||||
lp:x:9:
|
||||
uucp:x:10:
|
||||
audio:x:11:
|
||||
video:x:12:
|
||||
utmp:x:13:
|
||||
usb:x:14:
|
||||
cdrom:x:15:
|
||||
man:x:16:
|
||||
mail:x:34:
|
||||
wheel:x:4:
|
||||
tty:x:5:
|
||||
tape:x:6:
|
||||
daemon:x:7:
|
||||
floppy:x:8:
|
||||
disk:x:9:
|
||||
lp:x:10:
|
||||
uucp:x:11:
|
||||
audio:x:12:
|
||||
video:x:13:
|
||||
utmp:x:14:
|
||||
usb:x:15:
|
||||
cdrom:x:16:
|
||||
man:x:17:
|
||||
mail:x:18:
|
||||
dialout:x:19:
|
||||
nogroup:x:99:
|
||||
users:x:1000:
|
||||
_EOF
|
||||
|
|
Loading…
Reference in a new issue