LinuxQuestions.org
Register a domain and help support LQ
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 02-14-2009, 10:24 PM   #1
simonsharry
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
Question How do I unsave a Gnome-saved password of my ext3 external USB hard-drive?


Hello,

I have got an external USB hard-drive with ext3 filesystem. Whenever I would power-on/plug-in this drive, I would be prompted for a password dialog with an additional option to save my password. Tired of entering my password upon every power-on, I decided to save my password one day. However, I now want to go back to the old setting... where I had to manually enter my password. How do I do that?

I first tried changing my old user password ('xxx', that got saved by Gnome/Linux <somewhere>) to something fresh and new ('yyy'), hoping that Gnome/Linux would recognize the password mismatch (between 'xxx' and 'yyy') and prompt me, once again, for the correct/new password. However, Gnome/Linux did nothing! To be able to work in the interim, I have restored my user account password to 'xxx'.

Would greatly appreciate your response. Fyi,
1. my usb drive currently appears mounted as:
/dev/dm-2 on /media/bkupdrive type ext3 (rw,nosuid,nodev,uhelper=hal)
2. I'm using Fedora 9, version - 2.6.27.12-78.2.8.fc9.i686.


Secondly, I'm only now realizing this... My current user id (corresponding to my username 'harry') is 500 in /etc/passwd. Would, then, this mean that if I take my external drive to another user's system/network where I do not have an account just yet, I must request for an account with a userid of 500 in order to be able to access my drive's contents? This may not always be administratively/politically possible, so what are my options here?

Many thanks in advance.
Regards,
/HS

Last edited by simonsharry; 02-14-2009 at 10:51 PM.
 
Old 02-14-2009, 11:03 PM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
As for the gnome password, I believe you need the gnome-keyring-manager package:

su --command="yum -y install gnome-keyring-manager"
 
Old 02-15-2009, 01:33 AM   #3
simonsharry
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Exclamation

Quote:
Originally Posted by Admiral Beotch View Post
As for the gnome password, I believe you need the gnome-keyring-manager package:

su --command="yum -y install gnome-keyring-manager"
Looks like, I'm in big trouble now!
I installed the package. Launched the gnome-keyring-manager app. Deleted the one and only key listed there. Now, the password prompter sure comes up, but I CANNOT get it to accept my original password. Please note that the drive is ext3 and encrypted... so please, PLEASE... HELP!!!

Do I need to manually create /dev/dm-2 somehow???

Last edited by simonsharry; 02-15-2009 at 01:35 AM.
 
Old 02-15-2009, 02:02 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
I'm gonna go ahead and say you're screwd at this point. But if you're not willing to give up just yet...

Stop using your computer RIGHT NOW. Boot up with some kind of recovery LiveCD - "Recovery Is Possible", perhaps. and start searching your hard drive for "GnomeKeyring"

Capture everything within a couple hundred bytes of that string and attempt to rebuild the file by hand.

ProTip:
'mv {} {}.backup' is generally better than 'rm {}'
and
I pitty da foo dat dont backup his shizzle.
 
Old 02-15-2009, 02:04 AM   #5
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Once you get RIP booted, login and do something like this:

grep --binary-files=text -200 "GnomeKeyring" /dev/hda > /tmp/ohCrap.txt

Where hda is the device of your hard drive.

Last edited by JulianTosh; 02-15-2009 at 02:10 AM.
 
Old 02-15-2009, 02:15 AM   #6
simonsharry
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Admiral Beotch View Post
Once you get RIP booted, login and do something like this:

grep --binary-files=text -200 "GnomeKeyring" /dev/hda > /tmp/ohCrap.txt

Where hda is the device of your hard drive.
Hey friend -
I have created a separate thread just for this...
http://www.linuxquestions.org/questi...b-disk-704755/

I can boot my computer just fine. It's only this external ext3 encrypted disk that I somehow need to get access to (once again). Is it possible to manually mount this thing again somehow... using device mapper and stuff (I don't fully understand the concept, but can follow instructions if you/someone could provide).

I have only myself to blame for what I did.
 
  


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
ext3 RAID 1 on a USB External Two Disk Hard Drive - Possible? Runge_Kutta Linux - Hardware 3 08-17-2007 06:28 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Password appears not being saved (using USB drive) Wieger DNALinux 3 02-26-2006 07:24 AM
ext3 partition on external USB hard drive mounted, but only root access allowed leontini Linux - Hardware 4 02-17-2006 01:54 AM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 06:51 PM


All times are GMT -5. The time now is 05:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration