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