Operating System - HP-UX
1834662 Members
2991 Online
110069 Solutions
New Discussion

restricted ftp user not login system through telnet

 
SOLVED
Go to solution
steven chang_1
Regular Advisor

restricted ftp user not login system through telnet

1. modify the shell configuration of /etc/passwd to /dev/null
2.add /dev/null to /etc/shells
3. testing
4. ok
steven
4 REPLIES 4
T G Manikandan
Honored Contributor
Solution

Re: restricted ftp user not login system through telnet

It should be /usr/bin/false in the shells field and not /dev/null

Thanks
Michael Tully
Honored Contributor

Re: restricted ftp user not login system through telnet

Set the shell of the user account to /usr/bin/false
Make sure all valid shells are included in /etc/shells, do not add /dev/null
Anyone for a Mutiny ?
steven chang_1
Regular Advisor

Re: restricted ftp user not login system through telnet

hello:

why don't use /dev/null???
steven
T G Manikandan
Honored Contributor

Re: restricted ftp user not login system through telnet

/dev/null is a null file.
/usr/bin/false is a script that exits if any user attempts to connect to the system through the account.