mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-07-17 08:09:35 +00:00
zsh
This commit is contained in:
parent
8a9b0b3a28
commit
2713e108aa
7 changed files with 113 additions and 4 deletions
|
|
@ -158,7 +158,7 @@ function create_admin_user -a username pass
|
|||
set -f username m
|
||||
end
|
||||
log "Creating user $username and adding to wheel group"
|
||||
useradd -m -G wheel -s /usr/bin/fish $username
|
||||
useradd -m -G wheel -s /usr/bin/zsh $username
|
||||
echo $pass | passwd -s $username
|
||||
passwd -l root
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue