System Administration

Default system account on HP-UX 11i V1.

Go to solution
Narendra Uttekar
Regular Advisor

Default system account on HP-UX 11i V1.

I want to know what all are the default system account on HP-UX 11i V1 i.e. the list of the account below from the system please let me know what all the account each represent.

smbnull:x:101:108:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
hpsmh:x:79:79:System Management Homepage:/home/hpsmh:/sbin/sh
tftp:*:510:1:Trivial FTP user:/usr/tftpdir:false
sshd:*:104:104:sshd privsep:/var/empty:/bin/false

Honored Contributor

Re: Default system account on HP-UX 11i V1.

Unless otherwise noted, these accounts are locked by default, and should remain so.

root - The main administrator account. Obviously, this account should always have a good password and it should not be locked.

(NOTE: root's shell *must* be /sbin/sh, or else the system will be unbootable.)

daemon - Mainly for legacy compatibility, but used at least by grmd (which is a helper daemon for HP-UX X server: you may see it if you run a local X server on your system.)

bin - The standard owner of all HP-UX system binaries and libraries. Do not remove this: if you do, you will see lots of error messages from swinstall when installing patches and other HP software depots.

sys - Exists for legacy compatibility, I guess?

adm - The owner of /var/adm directory, the /var/adm/wtmp* files and the accounting files in /var/adm/acct/.

uucp and nuucp - Related to UUCP subsystem: a system for transferring mail and files over modem lines and other serial connections. If UUCP is not used at your site, these accounts should be locked, as they are by default. Removing these accounts is not advisable, as some system files are owned by these user accounts; you might have difficulties installing a Quality Pack if these accounts don't exist on your system.

lp - The account of the printing subsystem, so that the print spooler does not have to run as root.

hpdb - A system account on all HP-UX systems for historical reasons: it is/was used by the ALLBASE/HP-UX product. See ITRC Knowledge Base document emr_na-c00931789-3 for more information.
If you don't have ALLBASE/HP-UX on your system, this account should remain locked as it is by default.

nobody - This user is traditionally used in many cases when an application must run as an account that is guaranteed to not own any files and directories (i.e. to make sure it can only write to world-writeable locations like /tmp and /var/tmp). On new applications, it's recommended to create an application-specific user account for this purpose instead.

"nobody" is also used by the NFS subsystem: if a NFS client accesses a NFS filesystem using an UID that does not exist on the NFS server, the access is treated as if it was made by the "anonymous" UID... which is "nobody" by default. (The UID 0 on the NFS client is also translated to the anonymous UID on the NFS server to prevent an intruder from getting root access on the NFS server if s/he already has root on a NFS client.)

The "nobody" account *must* always remain locked, no exceptions. It should not be removed.

www - Used by HP Apache web server, if it's installed.

webadmin - Used by the Webmin GUI that comes with the HP Apache Web Server (optional component).

smbnull - Used by Samba (or HP CIFS Server) software. It is important that this account *not* own any files or directories: this is like "nobody" but specifically for Samba.

mysql - Used by the MySQL database engine.

iwww and owww - Probably these exist to be compatible with HP-UX 11.04 VirtualVault product?

hpsmh - Used by HP System Management Homepage, an unified Windows/Linux/HP-UX/... web administration tool for HP hardware.

tftp - When a HP-UX system runs a TFTP server (for example, if it's acting as a Ignite-UX server or a Ignite boot helper), the TFTP clients will be allowed to access the system as user "tftp" (the TFTP protocol does not have usernames or authentication).

sshd - This is used by the Privilege Separation feature of sshd (see SSH documentation for more details). It is very important that the home directory of this user (/var/empty) is actually empty and *not* owned by the sshd user.

See also:



Valued Contributor

Re: Default system account on HP-UX 11i V1.

Excellent answer MK! keep going!

narendra, hope you have the answer now.

todo lo mejor
Man's mind, once stretched by a new idea, never regains its original dimensions
Narendra Uttekar
Regular Advisor

Re: Default system account on HP-UX 11i V1.

Hi Matti, Thanks for the excellent answer.