user management commands automated
This commit is contained in:
4
jconf
4
jconf
@@ -47,10 +47,6 @@ case "$cmd" in
|
||||
if [ "$exist" -eq 1 ]; then
|
||||
echo "$2 user already exists"
|
||||
else
|
||||
# Source - https://stackoverflow.com/a
|
||||
# Posted by Myrddin Emrys, modified by community. See post 'Timeline' for change history
|
||||
# Retrieved 2026-01-01, License - CC BY-SA 4.0
|
||||
|
||||
while true; do
|
||||
read -p "Do you want to create an user account $2 [Y/n]:" yn
|
||||
case $yn in
|
||||
|
||||
Reference in New Issue
Block a user