Cannot add users through Users and Groups

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lanrun
Level 3
Level 3
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: Cannot add users through Users and Groups

Post by lanrun »

I have the same problem. Not found any solutions yet.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
shoeshy

Re: Cannot add users through Users and Groups

Post by shoeshy »

The problem seems to stem from the way the 'users-admin' application is run.

It works as expected using "Run Application" (Alt-F2) and typing it in. Now when it runs the 'Unlock' button is available to switch to admin mode.

It does not work from the Terminal, but there are some errors that may make sense to someone more experienced:

$ users-admin

** (users-admin:19465): CRITICAL **: Cannot create session bus: Failed to connect to socket /tmp/dbus-muHvPq2man: Connection refused

** (users-admin:19465): CRITICAL **: Unable to find session for cookie
lanrun
Level 3
Level 3
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: Cannot add users through Users and Groups

Post by lanrun »

Now I have read this:
"edrangas: You're right - in my case, a simple:

'sudo passwd -l root'

...fixes my issue! I can now use the users-admin tool again."

So sudo passwd -l root will lock the root account. :This option disables an account by changing
the password to a value which matches no possible encrypted value.

I can not understand why this will help, as the root account was not enabled during the installation process.

regards
lanrun
Locked

Return to “Software & Applications”