1833464 Members
2802 Online
110052 Solutions
New Discussion

Re: su - root

 
manny_6
Occasional Contributor

su - root

Hello

I have a D class server running 10.20 in solaris I am able to prevent root login except from console enforcing su to root how can i achieve this in hpux ?

thanks
manny.
4 REPLIES 4
Michael Tully
Honored Contributor

Re: su - root

Simply add the word 'console' to the /etc/securetty file (without the quotes)
Also make the permissions 400
Anyone for a Mutiny ?
G. Vrijhoeven
Honored Contributor

Re: su - root

Hi,

adding console in /etc/securetty the way to go!

Gideon
Sunil Sharma_1
Honored Contributor

Re: su - root

Hi,

It's much simpler in HP UX.
create a file /etc/secuetty and write console in this

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
John Carr_2
Honored Contributor

Re: su - root

Hi

cat console >> /etc/securetty

:-) John.