I am using DSL_embedded under WinXPSP2 with group policies. I cannot change the password for root or dsl using /usr/bin/passwd. I keep getting a message "passwd: An error occurred updating the password file."
I am trying to do it as root -- sudo su.
Neither can I add a new user. I again get an error related to access to the /etc/passwd file (or maybe /etc/shadow; I can't tell.)
I am also trying to access the dsl_embedded system from windows via ssh. I have added the requisite '-redir' parm to the qemu command line and copied my id_dsa.pub and id_rsa.pub files into the authorized_keys file. However I keep getting a password prompt for dsl@localhost when I try to ssh into it, and of course, I don't know the dsl user's password and cannot change it because of the problem above.
Any ideas? Anyone? Please?you must run /etc/init.d/ssh_addusers firstWell that worked nicely as far as changing the password is concerned. Thanks.
It just refreshes /etc/passwd-, /etc/gshadow, /etc/gshadow-, and /etc/group- from /KNOPPIX/etc/...
But if that is necessary, wouldn't it be better to source it into the 'start SSHD' script? or something?
And does anyone have any idea about getting ssh to sign in using the user's public key rather than a password? I've had this working between my Cygwin installation and both SunOS and WinSSHD/Win2003 so it should be possible.
Quote
But if that is necessary, wouldn't it be better to source it into the 'start SSHD' script? or something?
It is defaulted in the next, 1.3 release. You could have also used the boot time option of users but both will no longer be required.I'm having the same problem that the ssh keep asking for password after I configued the authorized_keys2.
Does anyone ever tried using automatic ssh authentication with authorized_keys2 ? I got it to work on Solaris and KNOPPIX 3.4, but not DSL, which keep asking for password.Next Page...
original here.