Operating System - HP-UX
1834345 Members
1706 Online
110066 Solutions
New Discussion

Re: Installation with user different to root

 
SOLVED
Go to solution
Miguel Ustariz
Frequent Advisor

Installation with user different to root

Can I install any product (patch, software, etc) with an user (no root) with ID 0 ?. It is safe and secure ?. Can I have any kind of problem with HP-UX 11.11 OS if I do it ?
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Installation with user different to root

Having a UID of 0 means you have root privileges. So, yes you could do that.

Is it safe and seucre? Heck NO!

Having multiple UID 0 accounts on any machine is a really BAD idea and a big security risk.
Hoang Chi Cong_1
Honored Contributor

Re: Installation with user different to root

As an expert idea, I think you should add that user to sys group.
But it still dangerous. And more dangerous if you give that user with 0 ID (that means root permission). Very *DANGEROUS* and *NO SECURE*
Can check while login with root user and type: id command, the out put like this:
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)

In my system, when install any software, patches only root(administrator) can do it.

Regard,
HoangChiCong
Looking for a special chance.......
Norman_21
Honored Contributor
Solution

Re: Installation with user different to root


Get SUDO!
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Miguel Ustariz
Frequent Advisor

Re: Installation with user different to root

I will use sudo. Thaks a lot!