RE: Telnet and FTP issues on 5.3

2005-02-10 Thread Dixit, Viraj

Hi,

I have been searching for few days everywhere an answer to this question. Is 
there a way to stop telnet access for a group let's say ftponly but allow them 
to have FTP access in FreeBSD 5.3. I know this works in my old system BSD OS 
4.3. The commands are like this in login.conf file in BSD OS 4.3.


#restrict telnet for ftponly group only
ftponly:\
   :auth-network=reject:\
   :auth-ftp=passwd:


Thanks VJ


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Telnet and FTP issues on 5.3

2005-02-10 Thread Dan Nelson
In the last episode (Feb 10), Dixit, Viraj said:
 I have been searching for few days everywhere an answer to this
 question. Is there a way to stop telnet access for a group let's say
 ftponly but allow them to have FTP access in FreeBSD 5.3. I know this
 works in my old system BSD OS 4.3. The commands are like this in
 login.conf file in BSD OS 4.3.
 
 #restrict telnet for ftponly group only
 ftponly:\
:auth-network=reject:\
:auth-ftp=passwd:

One way to do this is to set the user's shell to /usr/sbin/nologin and
add /usr/sbin/nologin to the /etc/shells file.  They won't be able to
telnet or ssh in, but they will be able to ftp.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Telnet and FTP issues on 5.3

2005-02-10 Thread Dixit, Viraj
Thanks so much Dan, this works great. I appreciate your help. 
VJ

 -Original Message-
From:   Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent:   Thursday, February 10, 2005 10:42 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: Telnet and FTP issues on 5.3

In the last episode (Feb 10), Dixit, Viraj said:
 I have been searching for few days everywhere an answer to this
 question. Is there a way to stop telnet access for a group let's say
 ftponly but allow them to have FTP access in FreeBSD 5.3. I know this
 works in my old system BSD OS 4.3. The commands are like this in
 login.conf file in BSD OS 4.3.
 
 #restrict telnet for ftponly group only
 ftponly:\
:auth-network=reject:\
:auth-ftp=passwd:

One way to do this is to set the user's shell to /usr/sbin/nologin and
add /usr/sbin/nologin to the /etc/shells file.  They won't be able to
telnet or ssh in, but they will be able to ftp.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]