Security Basics mailing list archives

RE: SSH mail server experiments


From: stephen at unix dot za dot net <stephen () unix za net>
Date: Fri, 8 Aug 2003 16:15:32 +0200 (SAST)


/bin/nologin

its valid, and it just displays a message like :

you are not permitted to login


or something to that effect.



On Fri, 8 Aug 2003, Skibi de LaPies wrote:

-----Original Message-----
From: chris Verhagen [mailto:chrisaster24747 () hotmail com]
Sent: Thursday, August 07, 2003 7:20 PM
To: security-basics () securityfocus com
Subject: SSH mail server experiments

(...)
Is there an easy solution for this problem? Remember, i only want them to
be
able to use /bin/mail! No shell!

Of course You may use it, but remeber, that shell for ftp service has to be
in a way 'legimate' that is, it has to be listed in /etc/shells (i use
/usr/bin/passwd as a shell :-)

This trick however does not work on sftp - there have to be interactive
shell present.
BTW does onyone can give me a hint with secure ftp? Is stunnel the nly
option or there is another service?

bests
vermin


---------------------------------------------------------------------------
----------------------------------------------------------------------------



---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: