LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-08-2009, 02:19 PM   #1
m-man
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, http://ubuntuforums.org/showthread.php?t=748934

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

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

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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":
Code:
VARIABLES
       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
                     hotplug)
              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
                     auto.
              hotplug
                     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.
              ifplugd
                     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.
              nfsroot
                     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, 02:49 PM   #3
m-man
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 02:50 PM.
 
  


Reply


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 02:01 PM
keyring. What is it ? Mike Davies Linux - Newbie 7 09-28-2008 10:51 PM
Gnome keyring from nowhere fridgitator Linux - Newbie 2 02-20-2008 12:45 AM
Locked keyring Fill Linux - Software 3 09-14-2007 10:10 AM
X hangs at startup, permissions for normal user messed up. elgatofilo Slackware 5 12-20-2004 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 PM.

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