/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:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 7:20 PM > To: [EMAIL PROTECTED] > 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 > > > --------------------------------------------------------------------------- > ---------------------------------------------------------------------------- > --------------------------------------------------------------------------- ----------------------------------------------------------------------------