Operating System - HP-UX
1826314 Members
3657 Online
109692 Solutions
New Discussion

/etc/passwd for postgres, hpsmdb, sfmdb, iwww, owww

 
TheJuiceman
Super Advisor

/etc/passwd for postgres, hpsmdb, sfmdb, iwww, owww

Hey gang,

How should these entries look in the /etc/passwd file? Should corresponding /home directories exist for each or should they be set with a different home dir? Thanks.
3 REPLIES 3
DavidJ
Regular Advisor

Re: /etc/passwd for postgres, hpsmdb, sfmdb, iwww, owww

Juiceman,

If these uid's are not going to be used to log onto your system, I would change them to something like this:
iwww:*:99:99:HPUX Mandatory - Blocked,,,:/:.

I have used this method to prevent interactive logons for 'users' that are required on my systems, but should not be used as "real" users.


Regards
David
Everyday I beat my own previous record for number of consecutive days I've stayed alive.
Arnold F. Shirk
New Member

Re: /etc/passwd for postgres, hpsmdb, sfmdb, iwww, owww

David,

Thank you for covering the password entries. I think /bin/false is easier to locate in the file.

Just my opinion.

My question is do any of these accounts need a "home'" directory?

It is till vague to me what actions these system accounts perform.

Viktor Balogh
Honored Contributor

Re: /etc/passwd for postgres, hpsmdb, sfmdb, iwww, owww

>It is till vague to me what actions these system accounts perform.

 

There's nothing special, you can check it as always:

 

# ps -u USERNAME

 

:)

 

Viktor

****
Unix operates with beer.