Other Help Topics :: passwords - again



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.

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.

Good idea will try
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

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

73
ke4nt

Next Page...
original here.