Operating System - HP-UX
1832283 Members
2466 Online
110041 Solutions
New Discussion

/etc/securetty does not work. why ?

 
SOLVED
Go to solution
Juan Manuel López
Valued Contributor

/etc/securetty does not work. why ?

Hi all.
I have deactivated telnet access:
inetd.conf : # telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

No problem.

Also deactivate the root access from tty:
/etc/securetty: /dev/console

I have restart the inetd : inetd -c

And I can not access from tty ( rigth ). So I can NOT access from console ??? Why ?

Thanks in advance.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: /etc/securetty does not work. why ?

Your /etc/securetty should look like this:

# cat /etc/securetty
console
#

Note that there is no /dev/ in front of the word console. Try it like this and see what happens.
Ashwani Kashyap
Honored Contributor

Re: /etc/securetty does not work. why ?

THe entry in /etc/securetty is just console and nothing else .

Try that .