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: passwords - again, default user< Next Oldest | Next Newest >
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: June 17 2004,02:52 QUOTE

Is there any elegant way to modify the default damnsmall user's password without refactoring?

I have DSL installed on CF card on a standalone application and need to provide ssh access.

I am needing a method to allow persistant changing of password without the need for refactoring.

Using sudo passwd damnsmall via a script is maybe an option but not one I am keen on.

Ideas welcomed.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: June 17 2004,04:26 QUOTE

After changing your password, you could try and back up your /etc/passwd (or is it /etc/passwd?) file as part of your filetool list.

Hopefully, when you restore your backup file it will overwrite the default /etc/password file with your newer one.

Good Luck.
Back to top
Profile PM 
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: June 17 2004,11:30 QUOTE

Good idea will try
Back to top
Profile PM 
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: June 18 2004,20:19 QUOTE

What I ended up doing is to create new password for damnsmall user using sudo passwd damnsmall and then adding /etc/shadow to my filetool list - works like a dream.

Thanks for the idea cbagger01
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 18 2004,20:26 QUOTE

Nice tip, cbagger01 !
Thanks for sharing your solution with us, colinbes

73
ke4nt
Back to top
Profile PM 
4 replies since June 17 2004,02:52 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: passwords - again

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