Go Back   Technibble Forums > Operating Systems > Linux

  Technibble Sponsor

Reply
 
Thread Tools Display Modes
  #11  
Old 05-01-2012, 03:39 AM
codegreen codegreen is online now
 
Join Date: Mar 2011
Location: New Brunswick, Canada
Posts: 1,199
codegreen is a jewel in the roughcodegreen is a jewel in the roughcodegreen is a jewel in the rough
Default

Hmmm. /etc/shadow- is a backup; the previous version of the shadow file. The current shadow file should be there without the dash. If the shadow file (without the dash) is not there, you can use a copy of shadow- to replace it. While in the "etc" directory, type:

Code:
cp shadow- shadow
Then, use gedit as noted below to edit the file, removing the random-looking text between the two colons after the username. You don't have to make any changes to the passwd file. Save the file and reboot. You should be able to log in using the user name and no password. Once logged in, you can set a new password using the "passwd" command.
__________________

Stephen Gilbert
Code Green Technology
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Technibble.com is based out of MELBOURNE, AUSTRALIA.