passwords - againForum: Other Help Topics Topic: passwords - again started by: colinbes Posted by colinbes on June 17 2004,02:52
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. Posted by cbagger01 on June 17 2004,04:26
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. Posted by colinbes on June 17 2004,11:30
Good idea will try
Posted by colinbes on June 18 2004,20:19
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 Posted by ke4nt1 on June 18 2004,20:26
Nice tip, cbagger01 !Thanks for sharing your solution with us, colinbes 73 ke4nt |