diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2009-06-27 08:33:28 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2009-06-27 08:33:28 +0000 |
commit | e5538076b3582eef8265d8224c3fda4deec5844c (patch) | |
tree | 2b2b864da301f5982c0a5499aad4e8b752852be9 | |
parent | 3d3c959ea733fea51063e072391710c690fb50c1 (diff) |
Add initial user to the 'staff' class.
ok deraadt@, ok krw@
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index 9c10253129b..83984a38d07 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sh,v 1.202 2009/06/11 02:44:50 krw Exp $ +# $OpenBSD: install.sh,v 1.203 2009/06/27 08:33:27 ajacoutot Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -269,7 +269,7 @@ apply if [[ -n $user ]]; then _encr="*" [[ -n "$userpass" ]] && _encr=`/mnt/usr/bin/encrypt -b 8 -- "$userpass"` - userline="${user}:${_encr}:1000:10::0:0:${username}:/home/${user}:/bin/ksh" + userline="${user}:${_encr}:1000:10:staff:0:0:${username}:/home/${user}:/bin/ksh" echo "$userline" >> /mnt/etc/master.passwd mkdir -p /mnt/home/$user |