Do your users need console access to the system.

I my environment I usually control this via ssh and disable console access
to normal users.
A simple way to do it

in /etc/ssh/sshd_config

ClientAliveInterval 300
ClientAliveCountMax 0


Make all the users that require console access use ksh and you're done.


Yavor

On Fri, Oct 15, 2010 at 7:41 AM, Rodrigo Mosconi <open...@mosconi.mat.br>wrote:

> 2010/10/13 Brad Tilley <b...@16systems.com>:
> > That works great. I've tried to do the same to the other default shell
> > in base (csh). I added 'set autologout=15' to /etc/csh.cshrc and then to
> > /etc/csh.login as well (I'm turning knobs like a good clueless user).
> >
> > I then read the csh man page, but saw no mention of autologout. Perhaps
> > the OpenBSD version of csh does not support this? Is there a way to do
> > this with csh? If not, I'll need to remove access to the shell.
> >
> I know that TCSH have the autologout feature.
>
> Deveolpers, just for curiosity (no flame war please):
> There is any problem IF the tcsh replaces the csh on the base system?
>
> Thanks,
>
> Mosconi
>
>


-- 
Yavor Shahpasov
yavosh.at.gmail.com

Reply via email to