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

Attachment: pgpOOOfFcA9Cb.pgp
Description: PGP signature

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to