Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Help! realtime help w linux password

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
CanuckAmok Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:00 PM
Original message
Help! realtime help w linux password
Printer Friendly | Permalink |  | Top
Omphaloskepsis Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:12 PM
Response to Original message
1. Nasty but it might work..
Boot from a Ubuntu live CD...
Mount the linux partition in rw mode :: mount -o rw /dev/hda1 /mnt/hda1
Chroot into the partition i.e. :: su chroot /mnt/hda1 /bin/bash
Change the password with passwd :: man passwd ------- for help



That is really sloppy instructions... Good luck..
Printer Friendly | Permalink |  | Top
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:12 PM
Response to Original message
2. Let me see
There is some vagueness in the advice below since I never used SUSE

You must have a SUSE rescue CD (the first installation CD usually doubles as a rescue CD).

Boot from the CD, in rescue mode.

It should offer you the option of performing a "chroot", that means entering a command line that acts like you're in the installed OS.

From there, all you have to do is:

"passwd root" to set the new administrative password.

For creating a normal user account, do this:

useradd -c "CannuckAmock J. Smith" camock
passwd camock

Enter camock's password twice, hit Ctrl-D a few times - the machine should reboot now - and now you can log in as "camock" with this user's password.

I don't know SuSE, but it probably has some settings screens that, should you ever want to fiddle with, you'll have to supply the root password instead - the one you set first with "passwd root".

Don't log in as root for normal computer use. It is not kosher.
Printer Friendly | Permalink |  | Top
 
Omphaloskepsis Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:14 PM
Response to Reply #2
3. This would be better advice than mine..
Printer Friendly | Permalink |  | Top
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:16 PM
Response to Reply #2
4. Something else - deleting the old user's files
Users' files are usually under /home. To get read of the previous owner's files, do this:

1) Open a terminal screen
2) Enter "root mode" by typing the "su -" command. Enter the root password.
3) Type the "ls /home" command. You'll see your own directory and those of the other user(s).
4) For any of the "alien" names you see there, do this:

userdel -r alienname
Printer Friendly | Permalink |  | Top
 
CanuckAmok Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:29 PM
Response to Reply #4
5. No boot disks
I fogot to mention.... I have no CDs. I'm completely on my own.
Printer Friendly | Permalink |  | Top
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:33 PM
Response to Reply #5
6. Oooooo-kay. So let's start by downloading and burning a live-cd linux distribution.
Printer Friendly | Permalink |  | Top
 
CanuckAmok Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:38 PM
Response to Reply #6
8. Eep. N
No access to a CD burner right now, either.

I guess I'm screwed unless I can reach the previous owner.
Printer Friendly | Permalink |  | Top
 
CanuckAmok Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:45 PM
Response to Reply #8
9. DING DING DING!
Found it.

User name: root
Password: passwd


With thanks to:

http://forums.suselinuxsupport.de/index.php?showtopic=14201

Printer Friendly | Permalink |  | Top
 
Little Wing Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Mar-05-07 02:34 PM
Response to Original message
7. If you used Windows 98 you just could hit 'cancel'
Who's the smarty pants now? :eyes:
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Thu Dec 26th 2024, 03:18 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC