Im trying to restrict access to root , to only the console /dev/ttyS0. Ive got a sheevaplug running debian squueze.
Looking on the web I ve remove loads of entries in /etc/securetty and also editted /etc/login.defs to uncomment the console entry out and changed to include ttyS0
However it still lets me login to root on a ssh session. Any idea why / what am i missing. I installed sudo and setup /etc/sudoers to allow another user to sudo to root.
How do i know if pam is running, all the configuration files are present along with libpam*.
Ive tried rebooting , as far as I can see I shouldnt need to. Just edit the /etc/securetty file
Any help would be appreciated