Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-08-2009, 01:19 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
tried to bypass keyring at startup, now its messed up

every time i start my computer, ubuntu loads and asks me for a keyring password, i guess its for the wireless key?

anyway i searched for a way around it, and i did what it said,

and when i restarted X? it had an 'authentication failed' box that wont go away, and i had to restart.

after restart, i can get into ubuntu, but the keyring box still comes up

so how do i finish the job, or how can i return it to before i touched it

Old 01-08-2009, 01:45 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
The third page of your link wasn't on the server, so I'm not certain whether the poster was able to do it either.

The keyring will hold other keys as well, so I wonder if bypassing it is a good idea. Imagine that you also have an encrypted partition or have a passphrase to unlock your ssh private key. If the passphrases for these keys are also held by the keyring, then you would be seriously compromising security in the name of convenience. Imagine if you engage in on line banking, and the keyring caches your credentials. Someone stealing your laptop would be able to empty out your bank account. Consider changing when the wireless interface starts up instead from onboot to ondemand. I don't use Ubuntu, so I don't know whether you use an /etc/sysconfig/network/ifcfg-wlan0 file. From the man page for "ifcfg":
       The  following  is  a list of variables that can be put in the configuration file, with an
       example in parentheses.  * marks the default.  For the meaning of suffix, see the  section
       Multiple addresses.

       STARTMODE {manual*|auto|hotplug|ifplugd|nfsroot|off}
              Choose when the interface should be set up.
              manual Interface  will be set up if ifup is called manually (without option boot or
              auto   Interface will be set up as soon as it is available (and service network was
                     started).  This  either happens at boot time when network is starting or via
                     hotplug when a interface is added to the system (by adding a device or load-
                     ing  a driver). To be backward compliant onboot, on and boot are aliases for
                     This mode is nearly the same as auto.  The difference between auto and  hot-
                     plug is that the latter does not make rcnetwork fail if the interface cannot
                     be brought up.
                     The interface will be controlled from ifplugd. At initial ifup only  ifplugd
                     will  be started for this interface. Then if ifplugd detects a link if calls
                     ifup  again  which  finally  sets  the  interface  up.  See  also   variable
                     IFPLUGD_PRIORITY below.
                     Nearly like auto, but interfaces with this startmode will never be shut down
                     via rcnetwork stop.  ifdown <interface> still works. Use this when you use a
                     root filesystem via network.
              off    Will never be activated.
See if the nm applet configuration has a similar setting. This will defer the asking of the passphrase until you decide to use wireless. If you don't use wireless for the session you may not be asked for it. I suspect that the bootup request is due to the wireless interface being started up on boot.

Or you could use ifdown/ifup style configuration to authenticate instead of a graphical network applet, and have the ifcfg file (or the Ubuntu equivalent). You would do this if you always want to use wireless and don't use the gui network applet to connect to other wireless networks. The wpa psk key will be contained in a root readable config file. If your system doesn't use an ifcfg-wlan0 file to configure wpa, you may need to manually configure a wpa_supplicant.conf file to contain the psk. The wpa_supplicant.conf file can contain entries for other networks as well.

Good Luck. Be sure you understand the security implications when trying to make things more convenient. A master key phrase that unlocks other keys is best kept only in the your head if you want to protect yourself against loss of your keys due to theft or online cracking.
Old 01-08-2009, 01:49 PM   #3
LQ Newbie
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
it seems to work now after i put
@include common-pamkeyring

at the end of the

/etc/pam.d/gdm file

now if i could only get my display to take up the whole screen
its stuck at 800x600, no choices for higher resolutions..

Last edited by m-man; 01-08-2009 at 01:50 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
keyring jmaloy Debian 4 08-29-2014 01:01 PM
keyring. What is it ? Mike Davies Linux - Newbie 7 09-28-2008 09:51 PM
Gnome keyring from nowhere fridgitator Linux - Newbie 2 02-19-2008 11:45 PM
Locked keyring Fill Linux - Software 3 09-14-2007 09:10 AM
X hangs at startup, permissions for normal user messed up. elgatofilo Slackware 5 12-20-2004 08:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration