Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What user should run this? #17

Open
alturic opened this issue Jul 13, 2023 · 0 comments
Open

What user should run this? #17

alturic opened this issue Jul 13, 2023 · 0 comments

Comments

@alturic
Copy link

alturic commented Jul 13, 2023

If this should be ran as root, wouldn't this break things in the updateUserAccount function?

if [[ $createUser == [nN] ]]; then
        username=$(whoami)
        updateUserAccount "${username}"
    elif [[ $createUser == [yY] ]]; then
        read -rp "Enter the username of the new user account: " username
        addUserAccount "${username}"
    else
	echo 'This is not a valid choice!'
	exit 1
    fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant