This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Single user mode in slackware Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Single user mode in slackware" Watch "Single user mode in slackware" New topic
Author

Single user mode in slackware

sunil amperayani
Greenhorn

Joined: Dec 20, 2009
Posts: 7

I forgot the root password in slackware 12 and now I'm not able to login.

Hence I need a single user mode like in REDHAT which could fetch me the solution without inserting any DVD/CD i..e kernal line editing
Josh Stephens
Greenhorn

Joined: Feb 16, 2010
Posts: 8
Not sure if you solved this but you should be able to append single at the end of your line in lilo. Also you can just boot into a livecd, mount the root filesystem and edit your /etc/passwd file. Remove the * after root. The star just signifies to the login process to check /etc/shadow for the actuall password.
 
wood burning stoves
 
subject: Single user mode in slackware
 
Similar Threads
Distro advice...
Which linux?
NX: About data consistent
Setting a database(user) to single user mode?
No boot