Go Back   Technibble Forums > Operating Systems > Linux

  Technibble Sponsor

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

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:

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:
Fredericton Computer Repair
Reply With Quote

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 07:32 AM.

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