Browse Source

Making all root and user shells /bin/sh can't be such a bad idea. :)

master
freesource 23 years ago
parent
commit
d4bd735b0a
  1. 4
      yard/replacements/etc/passwd-debian
  2. 4
      yard/replacements/etc/passwd.debian
  3. 4
      yard/replacements/etc/passwd.example

4
yard/replacements/etc/passwd-debian

@ -1,4 +1,4 @@
root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh sys:x:3:3:sys:/dev:/bin/sh
@ -19,4 +19,4 @@ list:x:38:38:SmartList:/var/list:/bin/sh
irc:x:39:39:ircd:/var:/bin/sh irc:x:39:39:ircd:/var:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh
nobody:x:65534:65534:nobody:/home:/bin/sh nobody:x:65534:65534:nobody:/home:/bin/sh
user:x:1002:1002:BootRoot User,uml,333-333-3333,333-333-333,Howdy:/home/user:/bin/bash user:x:1002:1002:BootRoot User,uml,333-333-3333,333-333-333,Howdy:/home/user:/bin/sh

4
yard/replacements/etc/passwd.debian

@ -1,4 +1,4 @@
root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh sys:x:3:3:sys:/dev:/bin/sh
@ -19,4 +19,4 @@ list:x:38:38:SmartList:/var/list:/bin/sh
irc:x:39:39:ircd:/var:/bin/sh irc:x:39:39:ircd:/var:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh
nobody:x:65534:65534:nobody:/home:/bin/sh nobody:x:65534:65534:nobody:/home:/bin/sh
user:x:1002:1002:BootRoot User,uml,333-333-3333,333-333-3333,Howdy:/home/user:/bin/bash user:x:1002:1002:BootRoot User,uml,333-333-3333,333-333-3333,Howdy:/home/user:/bin/sh

4
yard/replacements/etc/passwd.example

@ -1,4 +1,4 @@
root::0:0:root:/root:/bin/bash root::0:0:root:/root:/bin/sh
daemon:*:1:1:daemon:/usr/sbin:/bin/sh daemon:*:1:1:daemon:/usr/sbin:/bin/sh
bin:*:2:2:bin:/bin:/bin/sh bin:*:2:2:bin:/bin:/bin/sh
sys:*:3:3:sys:/dev:/bin/sh sys:*:3:3:sys:/dev:/bin/sh
@ -19,4 +19,4 @@ list:*:38:38:SmartList:/var/list:/bin/sh
irc:*:39:39:ircd:/var:/bin/sh irc:*:39:39:ircd:/var:/bin/sh
gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh
nobody:*:65534:65534:nobody:/home:/bin/sh nobody:*:65534:65534:nobody:/home:/bin/sh
user::1002:1002:BootRoot User,uml,333-333-3333,333-333-3333,Howdy:/home/user:/bin/bash user::1002:1002:BootRoot User,uml,333-333-3333,333-333-3333,Howdy:/home/user:/bin/sh

Loading…
Cancel
Save