fix useradd

This commit is contained in:
Pratham Patel 2023-08-15 14:11:27 +05:30
parent 8b9b6dc90a
commit 4bbeec1a58
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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}" \