Try running rssh -v...

On Fri, Sep 16, 2011 at 11:50:22AM +0200, Frederik Klama wrote:
> Hi,
> 
> I am having problems setting up rssh.
> I have created a chroot Environment for the user, containing all the
> commands
> and libraries needed as described in the 'CHROOT' file.
> However there seems to be a problem in identifying the 'sftp-server' command
> as allowed.
> 
> <begin /etc/rssh.conf>
> logfacility = LOG_USER
> umask = 022
> user=BSG-1668:022:00011:/chroot/BSG-1668
> <end /etc/rssh.conf>
> 
> This is what I get in syslog when trying to connect using sftp with this
> user:
> <begin /var/log/messeges snippet>
> Sep 14 15:40:49 iGor rssh[953]: setting log facility to LOG_USER
> Sep 14 15:40:49 iGor rssh[953]: setting umask to 022
> Sep 14 15:40:49 iGor rssh[953]: user bsg-1668 attempted to execute
> forbidden commands
> Sep 14 15:40:49 iGor rssh[953]: command: /usr/libexec/openssh/sftp-server
> <end /var/log/messages snippet>
> 
> Any ideas as to why this command is 'forbidden' would be appreciated.
> 
> Here some extra information:
> It is a Gentoo Linux Server.
> Kernel v2.6.34-xen (64bit)
> rssh v2.3.3
> openssh v5.6_p1-r2
> Every bit of software was compiled on the machine itself.
> 
> Kind regards
> Frederik Klama

> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2

> _______________________________________________
> rssh-discuss mailing list
> rssh-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rssh-discuss


-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpO1vLmo4SqP.pgp
Description: PGP signature

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to