Quantcast

Maximum PC

It is currently Thu Oct 23, 2014 1:37 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: password changing on OpenSuse 11?
PostPosted: Sat Aug 23, 2008 11:53 pm 
Thoroughbred
Thoroughbred
User avatar

Joined: Fri Dec 30, 2005 5:30 pm
Posts: 1685
Location: Portland,OR
Does anyone know how to change a login password on OpenSuse 11without knowing the old password?
I forgot my old password,so I had to commit the mortal sin of Linux use-restart!!

Help!!


Top
  Profile  
 
 Post subject:
PostPosted: Sun Aug 24, 2008 5:31 am 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24226
Location: Granite Heaven
Do you have root?


Top
  Profile  
 
 Post subject:
PostPosted: Sun Aug 24, 2008 6:48 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
Yes, login as root

If you forgot the password there, you're going to want to use your DVD (or a live CD if you have one) to get to a command prompt, mount the drive and perform a chroot on it to reset the root password...then reset your account via the root account.

This should steer you into how to perform that

http://www.5dollarwhitebox.org/wiki/ind ... t_Password


Top
  Profile  
 
 Post subject:
PostPosted: Sun Aug 24, 2008 8:55 am 
Team Member
Team Member
User avatar

Joined: Fri Apr 28, 2006 7:52 pm
Posts: 3189
Are you using grub? (Probably yes)

Here's the easiest way to do it. No LiveCD needed, or any of those extra mumb-jumbo commands.

  • Boot into single user mode. Simple instructions here.
  • Change the password:
    Code:
    root@localhost:~# passwd username

  • Reboot*
    Code:
    root@localhost:~# reboot


* There's absolutely no reason to use ctrl+alt+del when you can use the proper shutdown method


Top
  Profile  
 
 Post subject:
PostPosted: Sun Aug 24, 2008 5:55 pm 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24226
Location: Granite Heaven
yurimxpxman wrote:
* There's absolutely no reason to use ctrl+alt+del when you can use the proper shutdown method


There is no reason not to map ctrl-alt-del to a proper shutdown command, either. :P


Top
  Profile  
 
 Post subject:
PostPosted: Sun Aug 24, 2008 7:08 pm 
Team Member
Team Member
User avatar

Joined: Fri Apr 28, 2006 7:52 pm
Posts: 3189
Jipstyle wrote:
There is no reason not to map ctrl-alt-del to a proper shutdown command, either. :P


Bwahahaha! :lol:


Top
  Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 3:26 am 
Monkey Federation (Top 10)*
Monkey Federation (Top 10)*
User avatar

Joined: Sun May 22, 2005 8:28 am
Posts: 3673
Location: The Blue Nowhere
Check the inittab, on many distros the ctrl+alt+del is mapped correctly.

Code:
ca::ctrlaltdel:/sbin/shutdown -t3 -r now


This was the default for CentOS and my installations of Fedora are very similar out of the box.


Top
  Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 6:56 am 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24226
Location: Granite Heaven
:)

No need to be subtle in this group, eh? :P


Top
  Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 12:33 pm 
Team Member
Team Member
User avatar

Joined: Fri Apr 28, 2006 7:52 pm
Posts: 3189
Lodis4 wrote:
Check the inittab, on many distros the ctrl+alt+del is mapped correctly.

Code:
ca::ctrlaltdel:/sbin/shutdown -t3 -r now


This was the default for CentOS and my installations of Fedora are very similar out of the box.


Ubuntu no longer uses the inittab file.. from what I've read, it sounds like it will still obey it if it's present, but it's not necessary. I'm not sure where to find that configuration outside that file. But I know it doesn't do a proper reboot.

Jipstyle wrote:
:)

No need to be subtle in this group, eh? :P


I guess not :)


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.