Operating System - HP-UX
1834771 Members
3099 Online
110070 Solutions
New Discussion

Re: Disable root access on telnet?

 
Dennis Bembenuto
Occasional Contributor

Disable root access on telnet?

Hi all,

Again, I'm new to HP.

1. How can you disable root access on telnet? root can only be use in the console window. And, without disabling the telnet service so users can login using there own account but not to login as root.

2. How to set a passwd expiry? Example is 180 days?

Thanks....

5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: Disable root access on telnet?

To disallow telnet access to root, create a file called /etc/securetty with the following content:

# cat /etc/securetty
console

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Disable root access on telnet?

For password aging, see this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=976813
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Dennis Bembenuto
Occasional Contributor

Re: Disable root access on telnet?

Thanks Ivan, appreciate the help.
Emil Velez
Honored Contributor

Re: Disable root access on telnet?


you could configure tcpwrapper which will allow you to configure a hosts.deny and hosts.allow for any TCP service from inetd.

TCP wrapper is available for hpux 11.0 and above from software.hp.com if it is not already loaded on hpux like it is with 11.23
Jaime Bolanos Rojas.
Honored Contributor

Re: Disable root access on telnet?

Dennis!

Please remember that it's only kind enough to asign points to people that helped you out.

Regards,

Jaime.
Work hard when the need comes out.