Re: Why root is restricted on a per user configuration?
Brought to you by:
xystrus
From: R. D. <rap...@gm...> - 2011-08-31 14:53:03
|
On 31/08/2011 16:31, Derek Martin wrote: > There's no possible way this is happening unless root's shell is set > to be rssh, or you've somehow overwritten root's shell in the > filesystem with rssh. Check root's entry in /etc/passwd, e.g.: > > $ grep root /etc/passwd > root:x:0:0:root:/root:/bin/bash > > If you see what you expect to see, then run root's shell with > --version or -V or whatever option that shell uses to report its > version, and make sure it really is the shell you think it is. > Well, my /etc/passwd is correctly set. the root current shell is bash according to ps -s $$ and bash --version tells me that it's really bash. but, you gave me an idea. I've run a ssh -v command and the ssh binary is replaced by rssh via a symlink. And in fact, this is entirely my mistake. I've followed a tutorial where it makes a symlink from rssh to ssh, but for another purpose... Well, thanks for the help and quick response :) -- Raphael |