How to allow 2nd user?

2 réponses [Dernière contribution]
theblackpig

I am a member!

Hors ligne
A rejoint: 09/13/2012

I'm running Trisquel 6. I have added a second user with full administritve rights but when they try to add remove applications it asks for their password. They enter their password and get the message
"Failed to run /usr/sbin/synaptic '--hide-main-window' '--non-interactive' '-o' 'Synaptic::closeZvt=true' '--parent-window-id' '33554435' '--set-selections-file' '/tmp/tmpI7Bhwl' as user root.

The underlying authorisation mechanism (sudo) does not allow you to run this program. Contact the system administrator."

What do I do to overcome this problem please ?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

The user who currently has administrative privileges should add the other user name to some group. I guess the "adm" group is the one missing (the 'groups' command can be used to check that out):
$ sudo adduser 2nd adm
In the example above the user is named "2nd". Change it accordingly.

theblackpig

I am a member!

Hors ligne
A rejoint: 09/13/2012

Magic Banana - you put me on the right track, thanks.
Went into group users , ticked both users, created a group called admin and it worked!