Re: Why root is restricted on a per user configuration?
Brought to you by:
xystrus
From: Derek M. <co...@pi...> - 2011-08-31 14:32:10
|
On Wed, Aug 31, 2011 at 04:00:19PM +0200, Raphaël Davaillaud wrote: > I can connect to the server with root user (ssh root@server). > But then, I can't ssh other servers from here. > It says: > > > This account is restricted by rssh. > > Allowed commands: sftp > > > > If you believe this is in error, please contact your system administrator. > > Why root is restricted by rssh inside the server, while I did not > configure that? 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. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D |