fix useradd
This commit is contained in:
parent
8b9b6dc90a
commit
4bbeec1a58
@ -10,7 +10,7 @@ DEFAULT_USERNAME='rocky'
|
||||
DEFAULT_PASSWORD='rockylinux'
|
||||
DEFAULT_GROUPS='wheel'
|
||||
|
||||
useradd --comment "Rocky Linux" \
|
||||
$(command -v useradd) --comment "Rocky Linux" \
|
||||
--uid 1000 \
|
||||
--create-home \
|
||||
--user-group "${DEFAULT_USERNAME}" \
|
||||
|
Loading…
Reference in New Issue
Block a user