Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disabling login access to account, nologin,false or null?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Fri Mar 16, 2007 1:32 pm    Post subject: Disabling login access to account, nologin,false or null? Reply with quote

which is better for security in order to disable login to an account, setting the shell to false, nologin or null?

is there any difference?
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri Mar 16, 2007 10:25 pm    Post subject: Reply with quote

/dev/null can't execute and there's nothing there and that fact isn't likely to change, so that seems like the best. The other two are just programs, I guess they could be edited to a greater extent than /dev/null can be. however i bet they to a better job insofar as they have not been compromised at least.

but in reality i think any of them would work fine. /dev/null will belch out "cannot execute binary file" sometimes maybe.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum