Latest LQ Deal: Linux Power User Bundle
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 05-23-2004, 08:41 AM   #1
Registered: Feb 2004
Location: Michigan
Distribution: Mint 18
Posts: 66
Blog Entries: 1

Rep: Reputation: 15
SUSE password on old computer

OK first off its an old laptop, I posted here as its more software then hardware issue.

I just got a new hard drive for my laptop, it cam with suse installed. Only problem is the root and user accounts were not given to me. I'd like to know if theres a way to reset or just remove then. There is a hardware issue you should know before replying.

*CD-Rom not bootable

If you have any helpful info thank you.
Old 05-23-2004, 09:09 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I've heard some rumours about how this is done...haven't tried any of them myself, however. I guess that if your bootloader is password-protected (you can't go into the "edit" mode, or get command line) you're quite out of luck.

I don't remember exactly how the thing was done, but there were some methods like these:

1) using bootloader to get the filesystem mounted into a temporary place, say /mnt/ after which the file /etc/passwd (after mounting /mnt/etc/passwd) should be edited so that from the first line, the encrypted password part was to be removed. however, no other changes must be made, just the right part removed, and after rebooting the password should be able to be normally re-set....

2) somekind of single-user booting was used to access the system, after which the password was cleared with passwd command...this sounds too easy to my ears, though

so, I'm not sure. try google, it's got loads of pages I guess....anyway, there is no guarantee that any of the methods work, or that they'd even be safe, so watch out. plus, if your linux's security level is high, your bootloader's command prompt is password-protected and you don't have boot floppys, I'd say you've got problems..
Old 05-23-2004, 02:24 PM   #3
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
OK, if it's SuSE try following:

When Linux is booted, the program responsible for login is: /bin/login

Type in your GRUB boot screen as boot parameter:


After Boot is finished you'll go directly into the shell and not into /bin/login

So far, so good. Now, you shall be aware that the root filesystem is
mounted readonly.

Now you need to remount the root (/) FS by typing

mount -o remount,rw /

then simply

to change the passwd and afterwards
to reboot.

BTW: The proc FS is also not mounted. So if you want to do
additional work, mount the /proc FS prior remounting the root FS.
mount proc -t proc /proc

Last edited by Vlad-A; 05-23-2004 at 02:28 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
Rebooted my computer this morning and my password expired....i have Red Hat 9.0 craig02 Linux - Software 3 11-30-2005 06:15 PM
Suse 9.1, Computer start Vo0my SUSE / openSUSE 2 11-05-2005 02:38 AM
Lost Login and Password Information on an Old Computer rcp3w Red Hat 2 01-07-2005 01:57 AM
suse live cd. which is the password ovparrilla Linux - Newbie 1 04-28-2004 09:36 PM
Suse password JJK Linux - Software 1 04-06-2004 02:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration