Password not saving on frugal install


Forum: HD Install
Topic: Password not saving on frugal install
started by: kyleneitzel

Posted by kyleneitzel on Jan. 07 2008,04:07
Thanks to all the fine folks who continue to answer my (and many others') stream of questions.

Here's my latest: I have a frugal install with SSH server starting at boot. When I try to connect from another PC, I get an "access denied" message. If I change the password for ROOT and\or DSL then I can connect.

sudo passwd root

The problem is that the new password(s) don't stick from one boot to the next. Is there a way I can make them stay? Am I missing something from  "filetool.lst"?

Posted by curaga on Jan. 07 2008,17:32
Is /etc/shadow in your filetool.lst? That's where passwords are kept.
Posted by kyleneitzel on Jan. 08 2008,00:30
I don't believe it is. I'll give it a try. Thanks again for the tip. Your help is greatly appreciated.
Posted by sixdiamants on Jan. 10 2008,22:21
Another dirty trick is to add permanent users in /opt/bootlocal.sh and subsequently modify passwords. These users will live through subsequent reboots.
Here's a sample of the code I added to bootlocal.sh

Code Sample
useradd -m -s /bin/bash utilisateurlambda
chpasswd << EOF
utilisateurlambda:nixbekannt
dsl:charasjow
root:beet
EOF


But now, you'll run into the next hurdle which is that the RSA keys aren't stored permanently either. I vaguely remember having seen some posts on the subject. As for me, I simply do:

Code Sample
rm .ssh/known_hosts
on the ssh client machine and then connect as user utilisateurlambda or dsl. Works a treat.
Happy hunting... ???

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.