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

raspi-config does not prompt username if is ran under "su" #116

Open
slrslr opened this issue May 5, 2020 · 2 comments
Open

raspi-config does not prompt username if is ran under "su" #116

slrslr opened this issue May 5, 2020 · 2 comments

Comments

@slrslr
Copy link

slrslr commented May 5, 2020

Hello, i am linking to a discussion topic where user was confused due to raspi-config not asked for which user to apply actions.

Here is the issue described

When raspi-config is ran under "su" it not asked, but when ran directly under super user logged in, it asked for which username to apply actions.

Please consider prompting for the username always.

@ghost
Copy link

ghost commented Jun 4, 2020

run sudo raspi-config, when you ran it using su you automatically enter in root user.

@XECDesign
Copy link
Member

It tries to figure out what user you're logged in as and will only fall back to asking if it can't. That was added because people were logging in as root and then breaking things like auto-login.

It's a bit of a confusing question to ask a beginner, so I'd like to avoid it as much as possible. I understand that the opposite can be confusing too, but most people won't be using multiple accounts and the menu does mention the user name in the descriptions.

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

2 participants