Questions tagged [accounts]
This tag is for questions about managing user accounts, permissions, authentication, and related topics. It covers user creation, deletion, modification, password and group management, privileges, SSH, PAM, LDAP, etc. Ensure your question is specific to account management or authentication in Unix & Linux environments before using this tag.
137 questions
2 votes
1 answer
494 views
How to prevent ssh access after linux account expiration date?
I was a bit surprised by the fact that a user can still have ssh access to a Linux machine (Ubuntu 18.04.6 LTS) where their account has expired. I set up the account expiration date with chage: sudo ...
0 votes
1 answer
138 views
What is the best way to manage multiple access using same user?
Scenario: We have a couple of Ubuntu servers, each with a single user. The user account has some specific software that bind to the host IP address and a specific port (we cannot change the port ...
0 votes
0 answers
235 views
Ubuntu does not remember my microsoft account
My computer (Ubuntu 22.04.1 LTS), does not remember my business Microsoft account and I need to Login and 2FA each time. Is there a way to remember my Microsoft account?
0 votes
0 answers
459 views
echo $USER returns root, even under non-root user
My main user account (sebastian) ended up seriously crippled and I wanted to create a new user to look for differences, but: When logged in to tty as a new non-root user (e.g. guest), echo $USER ...
0 votes
1 answer
173 views
Offline setting account expiration
I need to set up an account inactivity expiration date (es. 1 year). As shown in some tutorials, a way of doing so is to use the usermod command. Due to some constraints, I need to do so offline, ...
1 vote
0 answers
916 views
passwd -S Alternate authentication scheme in use
in RHEL 7.9, I do passwd -S on all accounts in /etc/passwd as part of checking user accounts. # passwd -S <account name> root PS 1969-12-30 0 99999 7 -1 (Password set, SHA512 crypt.) bin LK ...
0 votes
1 answer
551 views
Why is changing password on user account is taking time?
I have created a few accounts on my Linux Mint installation. A few of them have admin privileges. About 30 min ago I changed the password on one of the admin accounts using the Users Settings GUI. But ...
0 votes
1 answer
902 views
sudo to another user, but unable to start X applications
This is on Ubuntu 20.04.1, in case it makes any difference. I open a terminal, sudo to another user, then try to run chromium and get the output pasted below. Every search I've done turns up ...