user management commands automated

This commit is contained in:
2026-01-01 02:15:59 +05:30
committed by Phani Pavan K
parent a1e8a03f60
commit 3ea86d7e35

4
jconf
View File

@@ -47,10 +47,6 @@ case "$cmd" in
if [ "$exist" -eq 1 ]; then if [ "$exist" -eq 1 ]; then
echo "$2 user already exists" echo "$2 user already exists"
else 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 while true; do
read -p "Do you want to create an user account $2 [Y/n]:" yn read -p "Do you want to create an user account $2 [Y/n]:" yn
case $yn in case $yn in