Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single user mode in slackware

 
sunil amperayani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic