[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ftp login only -how to?



On Mon, 1 Mar 1999 osmosis arcane atfantasy com wrote:

> How do you modify an account so that the user can only login via ftp?
> 
> Thanks :)

Two steps:

First, change their login shell in /etc/passwd to something like
/dev/null. There are several options for this, I'm sure others will
chime in and present them... :)

Second, whetever shell you do use, add it to /etc/shells so that it's
considered a valid option. 

--
 John Hardin KA7OHZ                               jhardin wolfenet com
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
-----------------------------------------------------------------------
  If you spend any time administering Windows NT, you're far too
  familiar with the Blue Screen of Death (BSOD) ...
                            - "MSDN Flash" email newsletter, 2/8/1999
-----------------------------------------------------------------------
   80 days until Star Wars episode I



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]