Re: [Ilugc] Tips of the day (Controlling login abilities)

2010-01-18 Thread Codeshepherd

What is the difference between non-login and no login?

Regards
Deepan Chakravarthy
+91 9945702482

Sent from codeshepherd's iPhone

On Jan 18, 2010, at 21:07, Vishnu Raj vishnukraj...@gmail.com wrote:


Controlling login abilities

If you want the user to have full telnet/ftp/etc access, use a real  
shell in

/etc/passwd (as in /bin/bash)

Non-login access can be set by using /bin/true (because /bin/true is
in /etc/shells)

No login and no FTP access by setting the shell as /bin/false
(because /bin/false is not in /etc/shells)

(note of the maintainer : in the latest case, the user can still  
have by
example POP3 access if there is a POP3 daemon, or access to other  
services

not doing a check of the user's shell)

--
விஷ்ணுராஜ். க

Kanchi Linux User Group Rocks !

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gnutuxfollower.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Tips of the day (Controlling login abilities)

2010-01-18 Thread Saravanan S
Controlling login abilities should means controlling the user accounts.

To restrict a user from logging in, LOCK it

passwd -l username

It will still show Login incorrect ;)

to unlock it,

passwd -u username

Please provide a RELEVANT Subject / Title.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc