[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [suse-security] root has no shell

> Ok, in this case i would try following (you will need ssh-Access):
> 1) scp the remote /etc/passwd to your system
> 2) change it
> 3) scp it back ...
> 4) try it

That wouldn't work, because scp -t (on the remote side with the f***'ed up 
passwd file) is being run by sshd via login shell. Means:

sshd runs login shell, login shell runs scp -t.

Ergo: No scp -t will be run, and false will be propagated to the local 
scp program (client-wise), which will return non-0.


Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here