login.conf changes not being effected

2003-12-13 Thread Phil Murphy
I've been trying to test out some features in /etc/login.conf. I created a user test, in a login class kids. I edited /etc/login.conf to include: kids:\ :daytime=10:\ :tc=default: I ran cap_mkdb /etc/login.conf, and tried logging in as test. I assumed that the user would be logged off in 10

Re: login.conf changes not being effected

2003-12-13 Thread Cordula's Web
[login.conf] goal is to be able to restrict login times and duration. 1. First of all, /etc/login.conf doesn't apply for ssh logins. Only the login(1) program reads this. Not sshd or other daemons. 2. As far as I can remember, you _can_ restrict the time of day for logins by setting

Re: login.conf changes not being effected

2003-12-13 Thread Jez Hancock
On Sat, Dec 13, 2003 at 12:50:55PM -0500, Phil Murphy wrote: I've been trying to test out some features in /etc/login.conf. I created a user test, in a login class kids. I edited /etc/login.conf to include: kids:\ :daytime=10:\ :tc=default: I ran cap_mkdb /etc/login.conf, and tried