Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Persistent Passwords with Frugal Installation?, How to save passwords for next reboot?< Next Oldest | Next Newest >
ueli Offline





Group: Members
Posts: 2
Joined: April 2006
Posted: April 14 2006,10:09 QUOTE

Hi

I've done a frugal hd installation and woul'd like to access via ssh to the machine.
So I need to know the passwords. Setting passwords is possible (sudo passwd or cheat code "secure") but i loose passwords after rebooting.

(1) With cheat code "secure" there's a prompt for new passwords after EVERY boot - is that normal?

(2) How can i change passwords persistently (with frugal installation)?

Thanks for any hints

Ueli
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 14 2006,12:33 QUOTE

1) Yes, it's normal.  It's an alternative to backing up your passwords.
2) Backup /etc/shadow.  There may be other files needing to be backed up for certain things like ssh (/etc/passwd or /etc/gshadow for example), but for my uses /etc/shadow has been the only one necessary.  I don't use ssh...I just have a plain old login prompt and shadow does the job for that.
If you happen to use both the 'secure' option and a backup, the backup will override the 'secure' option unless you also use the 'norestore' option.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ueli Offline





Group: Members
Posts: 2
Joined: April 2006
Posted: April 14 2006,20:27 QUOTE

Thanks - seems to be enough to save and restore /etc/shadow
Back to top
Profile PM 
2 replies since April 14 2006,10:09 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Persistent Passwords with Frugal Installation?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code