Topic: [Solved]Network manager asking for Root Password

Hi, May I first say this is the best version of Linux I have tried. I have had so much fun over the last couple of days and I have learnt loads. I have even got my wireless scanner working with hardly any effort. However I am stuck on this little problem.

Each time I restart #! if I have auto-login enabled, I get the following prompt:

    Enter password for default keyring to unlock

    The application 'Network Manager Applet' (/usr/bin/nm-applet) wants access to the default keyring, but it is locked

How can I force keyring to remember the password so that I don't have to type the password in each time I restart?

I have followed all the advice from here:- =http://crunchbanglinux.org/forums/topi … tup-solved

A box pops up after I tick All Users - System policy prevents modification of system settings
Authentication as the super user is required to perform this action.
I enter my password, and the box pops back up :password for root : Authentication Failure

I have also tried wicd.  "sudo apt-get install wicd, it will automatically remove network manager" however it did not work or remove network manager.

So I guess my question is how do I enter a root password when I don't know what it is. I done a fresh install with just me as the one user.

CrunchBang, 10, "Statler" XFCE

Any help would be greatly appreciated. Thank You

Last edited by freeby (2010-04-07 06:01:01)

"The light's on but nobody's Home"

Re: [Solved]Network manager asking for Root Password

for a quick and dirty fix you can do this.

sudo su
passwd
< enter new password>
< enter new password again>

here you have to enter your normal user password. It will change the root password.

perhaps you have to change policies for network manager.
http://wiki.archlinux.org/index.php/NetworkManager
have a look at the topic: "Problems starting nm-applet as normal user"

BR,
Yves

Last edited by evilyves (2010-04-06 13:33:51)

Re: [Solved]Network manager asking for Root Password

Theres an option, in the settings somewhere (im not on linux right now, so cant say where sad ) where you can select something along the lines of 'allow all users to use network manager' or something, and it will no longer need root privileges.
If i recall, a google search helped me with this earlier, I'd look around the preferences and options, it is there for sure though.

just call me...
~FSM~

Re: [Solved]Network manager asking for Root Password

yeah this would be the easiest issue. you should go with this hint first.

Re: [Solved]Network manager asking for Root Password

might get some help from here: https://help.ubuntu.com/community/NetworkManager0.7
I'll also try and get onto linux when i get home (8 hours or so), and look for it myself.

just call me...
~FSM~

Re: [Solved]Network manager asking for Root Password

evilyves wrote:

or a quick and dirty fix you can do this.

sudo su
passwd
< enter new password>
< enter new password again>

here you have to enter your normal user password. It will change the root password.

worked a charm many thanks to everyone for all there help and suggestions
Freeby

"The light's on but nobody's Home"

Re: [Solved]Network manager asking for Root Password

this is one of the reasons that I replace nm with wicd before anything else.

The first time you were asked for a keyring password you can choose no password and confirm that...this way it won't ask you again... If you have already set a keyring password then I don't know a way to disable it...maybe there is one on the links the other guys posted...

Re: [Solved]Network manager asking for Root Password

I'd like to point out what the proper solution is:

Right click on the network-manager tray icon, select edit connections.
highlight the connection you use, and select edit on the right.
far bottom right of the box that comes up, is 'allow use by all users'. Click that and your good to go.
I thought itd be good to mention because its the proper non-hack way.

just call me...
~FSM~

Re: [Solved]Network manager asking for Root Password

blackbinary wrote:

I'd like to point out what the proper solution is:

Right click on the network-manager tray icon, select edit connections.
highlight the connection you use, and select edit on the right.
far bottom right of the box that comes up, is 'allow use by all users'. Click that and your good to go.
I thought itd be good to mention because its the proper non-hack way.

This is helpful to me too. Thanks.

Re: [Solved]Network manager asking for Root Password

Thanks for this great advice FiniteStateMachine! And thanks for the hack anyways evilyves. wink

Last edited by trusktr (2010-07-29 08:17:45)

Re: [Solved]Network manager asking for Root Password

Hello
for some reason "available to all users" doesn't work for me on #! Not even when doing it as root. It doesn't even ask for authentication.

Last edited by rlara333 (2010-12-06 18:27:15)

12

Re: [Solved]Network manager asking for Root Password

rlara333 wrote:

Hello
for some reason "available to all users" doesn't work for me on #! Not even when doing it as root. It doesn't even ask for authentication.

what exactly is your problem?

Re: [Solved]Network manager asking for Root Password

ali wrote:
rlara333 wrote:

Hello
..... authentication.

what exactly is your problem?

I had the same problem as freeby of being asked for a password to unlock keyring after boot. In ubuntu i would "allow all users" but when i tried it in #! I wouldn't get the authentication required pop-up. I tried
evilyves' suggestion. I also killall NetworkManager; killall nm-connection-editor; killall nm-applet, restarted them as su and deleted all the stored wireless conections I had. After reboot I entered the wap password for my wireless and was able to connect and stay connected after each reboot so far.

Last edited by rlara333 (2010-12-07 02:44:19)

14

Re: [Solved]Network manager asking for Root Password

well one obvious solution is to delete the keyring files, then when you enter a wifi password and it asks you to create a keyring you just select the no-password-unsafe-keyring and you will never have to insert it again, another solution is to replace network-manager with wicd