public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* FTP And Not Shell
@  Rejean Proulx
   ` Igor Gueths
   ` nick G
  0 siblings, 2 replies; 4+ messages in thread
From: Rejean Proulx @  UTC (permalink / raw)
  To: speakup

Hello speakup,
  I have an account that I want to be usable from ftp but not shell.
  Is there a way of disabling shell access?
  
  

-- 
Best regards,
 Rejean                          mailto:rejean@interfree.ca
Skype id: rproulx
msn: rejean@interfree.ca



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP And Not Shell
   FTP And Not Shell Rejean Proulx
@  ` Igor Gueths
     ` Adam Myrow
   ` nick G
  1 sibling, 1 reply; 4+ messages in thread
From: Igor Gueths @  UTC (permalink / raw)
  To: Rejean Proulx, Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

There are several ways of doing so. One of which I can think of, is to 
change that account's shell to /bin/false in /etc/passwd. The only 
problem with doing this is that some Ftp daemons require that the 
account have a valid shell. 
On Tue, Mar 22, 2005 at 06:58:27PM -0500, Rejean Proulx wrote:
> Hello speakup,
>   I have an account that I want to be usable from ftp but not shell.
>   Is there a way of disabling shell access?
>   
>   
> 
> -- 
> Best regards,
>  Rejean                          mailto:rejean@interfree.ca
> Skype id: rproulx
> msn: rejean@interfree.ca
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

- -- 
How many chunks could checkchunk check if checkchunck could check chunks?
- -- Alan Cox
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCQMGfNohoaf1zXJMRA3ZYAKC72M7ruSOCJ0Qi62h4kVrGyzZ0+gCgr+Gx
9V1MnL+R05xcXNPUd1FZ+SA=
=oxdp
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP And Not Shell
   ` Igor Gueths
@    ` Adam Myrow
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Myrow @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On Tue, 22 Mar 2005, Igor Gueths wrote:

> There are several ways of doing so. One of which I can think of, is to
> change that account's shell to /bin/false in /etc/passwd. The only
> problem with doing this is that some Ftp daemons require that the
> account have a valid shell.

You can put /bin/false in the file /etc/shells, and that will make the FTP 
daemon consider it valid.  The drawback to this is, now a user could 
change their shell to /bin/false, and then they wouldn't be able to log 
in.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP And Not Shell
   FTP And Not Shell Rejean Proulx
   ` Igor Gueths
@  ` nick G
  1 sibling, 0 replies; 4+ messages in thread
From: nick G @  UTC (permalink / raw)
  To: Rejean Proulx, Speakup is a screen review system for Linux.

Do do that, you type as rot:
usermod -s /sbin/nologin username
Where username is the acount.
Thanks,
Nick
----- Original Message ----- 
From: "Rejean Proulx" <rejean@interfree.ca>
To: <speakup@braille.uwo.ca>
Sent: Tuesday, March 22, 2005 6:58 PM
Subject: FTP And Not Shell


Hello speakup,
  I have an account that I want to be usable from ftp but not shell.
  Is there a way of disabling shell access?
  
  

-- 
Best regards,
 Rejean                          mailto:rejean@interfree.ca
Skype id: rproulx
msn: rejean@interfree.ca


_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 FTP And Not Shell Rejean Proulx
 ` Igor Gueths
   ` Adam Myrow
 ` nick G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).