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: Password not saving on frugal install< Next Oldest | Next Newest >
kyleneitzel Offline





Group: Members
Posts: 19
Joined: Nov. 2006
Posted: Jan. 07 2008,04:07 QUOTE

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"?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Jan. 07 2008,17:32 QUOTE

Is /etc/shadow in your filetool.lst? That's where passwords are kept.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
kyleneitzel Offline





Group: Members
Posts: 19
Joined: Nov. 2006
Posted: Jan. 08 2008,00:30 QUOTE

I don't believe it is. I'll give it a try. Thanks again for the tip. Your help is greatly appreciated.
Back to top
Profile PM 
sixdiamants Offline





Group: Members
Posts: 10
Joined: Mar. 2007
Posted: Jan. 10 2008,22:21 QUOTE

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... ???


--------------
ce qui se conçoit bien s'énonce clairement
Back to top
Profile PM 
3 replies since Jan. 07 2008,04:07 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Password not saving on frugal install

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