1753501 Members
4573 Online
108794 Solutions
New Discussion юеВ

Re: shell

 
SOLVED
Go to solution
Rkumar
Frequent Advisor

shell

Please let me know about /usr/bin/false and its function.


5 REPLIES 5
johnsonpk
Honored Contributor

Re: shell

false is a command that does nothing but returns exit code 1, you may be seeing this in the /etc/passwd file for users who are not allowed to login to server.
Patrick Wallek
Honored Contributor
Solution

Re: shell

/usr/bin/false is typically used as the default shell for users that are NOT allowed to log in via an interactive shell, but ARE allowed to login via FTP.

Rkumar
Frequent Advisor

Re: shell

Thanks a lot Patrick,

However i have a bit of confusion that is it shell that execute get and put commands?.
Rkumar
Frequent Advisor

Re: shell

Thanks to all Gurus for their valuable suggestions. points have been awaeded for u r suggestions.


Regards,
Rahul
Dennis Handly
Acclaimed Contributor

Re: shell

>that is it shell that executes get and put commands?

No, ftp does that. false(1) is just used to make sure that dummy user can't login.