ftp and shell access
Kerry Hoath
kerry at gotss.net
Sun Apr 28 05:22:14 EDT 2002
This is a particularly bad idea.
/bin/false is actually part of the GNU shell utilities
and does nothing, silently and returns a non-zero exit code.
It is a utility called from shell scripts so making a shellscript called /bin/false
that generates output will cause various things to fail noisily
and unpredictably.
Regards, Kerry.
On Sun, Apr 28, 2002 at 04:03:31AM -0500, Raul A. Gallegos wrote:
> This is almost correct. Create a new login shell for example /bin/false in
> /bin/false put the commands:
>
> #!/bin/bash
> echo "no shell access available."
> logout
>
> Now add /bin/false to the list of possible shells in /etc/shells and when
> you create the new account give it a shell of /bin/false.
> NOw they can access ftp only but not log into any shell.
>
>
> ----- Original Message -----
> From: "Doug Lawlor" <dlawlor at roadrunner.nf.net>
> To: <speakup at braille.uwo.ca>
> Sent: Sunday, April 28, 2002 12:32 AM
> Subject: Re: ftp and shell access
>
>
> > Disregard my last message. I tried this on my system and it isn't
> > working here at the moment.
> >
> > Doug
> >
> >
> > --
> > Doug Lawlor <dlawlor at roadrunner.nf.net>
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Kerry Hoath: kerry at gotss.net kerry at gotss.eu.org or kerry at gotss.spice.net.au
ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au
More information about the Speakup
mailing list