mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
release: make sh the default shell
The default shell for root has been changed to sh(1) followup changing in release images sh(1) the shell for the "freebsd" user. MFC After: 1 week Reviewed by: manu, emaste (re) Approved by: manu, emaste (re) Differential Revision: https://reviews.freebsd.org/D54602
This commit is contained in:
parent
92f251f36b
commit
d64db8892f
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ arm_create_user() {
|
|||
chroot ${CHROOTDIR} /usr/sbin/pw -R ${DESTDIR} \
|
||||
useradd freebsd \
|
||||
-m -M 0755 -w yes -n freebsd -u 1001 -g 1001 -G 0 \
|
||||
-c 'FreeBSD User' -d '/home/freebsd' -s '/bin/csh'
|
||||
-c 'FreeBSD User' -d '/home/freebsd' -s '/bin/sh'
|
||||
chroot ${CHROOTDIR} /usr/sbin/pw -R ${DESTDIR} \
|
||||
usermod root -w yes
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ vagrant_common () {
|
|||
/usr/sbin/pw -R ${DESTDIR} -M ${DESTDIR}/METALOG \
|
||||
useradd vagrant \
|
||||
-m -M 0755 -w yes -n vagrant -u 1001 -g 1001 -G 0 \
|
||||
-c 'Vagrant User' -d '/home/vagrant' -s '/bin/csh'
|
||||
-c 'Vagrant User' -d '/home/vagrant' -s '/bin/sh'
|
||||
|
||||
# Change root's password to vagrant
|
||||
echo 'vagrant' | /usr/sbin/pw -R ${DESTDIR} usermod root -h 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue