User and Group Accounts


Quick Links:

User Account and Group Account Notes
User Account Tasks
Default User Identifiers (UIDs)
Group Account Tasks
Default Group Identifiers (GIDs)


User Account and Group Account Notes

NOTES Tru64 UNIX V5.1x HP-UX 11i v2
Default User Shell /bin/sh /sbin/sh
User Defaults defined /etc/profile
/etc/skel
/etc/csh.login
/etc/default/*
/etc/PATH
/etc/MANPATH
/etc/csh.login
/etc/skel
Default umask setting 022 000
Default umask setting (ftp connection) 022 027
User Templates /usr/skel /etc/skel
Password Rules
  • must contain at least five characters
  • must contain at least one alphabetic character, numeric character, or special character
  • cannot consist of only lower-case characters
  • must contain at least six characters
  • must contain at least two alphabetic characters
  • must contain at least one nonalphabetic character
  • A password must differ from the user's login name and any reverse or circular shift of that login name.
  • A new password must differ from the old one by at least three characters (one character for nonsuperuser password if changed by the superuser in a trusted system).
User account "nobody" and Group account "nobody" The nobody account can own files, processes, etc. The nobody account cannot own files, processes, etc.


User Account Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Adding
a User Account
Using SysMan Menu:
  1. Accounts Manage Local Users
  2. Add...

GUI:

dxaccounts

Using SAM:
  1. Accounts for Users and Groups Users
  2. Actions Add
Command:

useradd

Command:

useradd

Modifying
a User Account
Using SysMan Menu:

  1. Accounts Manage Local Users
  2. Select user
  3. Modify...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Users
  2. Select user
  3. Actions Modify
Command:

usermod

Command:

usermod

Deleting
a User Account
Using SysMan Menu:

  1. Accounts Manage Local Users
  2. Select user
  3. Delete...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Users
  2. Select user
  3. Actions Remove
Command:

userdel

Command:

userdel

Changing
a User Password
Using SysMan Menu:

  1. Accounts Manage Local Users
  2. Select user
  3. Delete...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Users
  2. Select user
  3. Actions Modify User's Password
Command:

passwd

Command:

passwd


Default User Identifiers (UIDs)

Default User IDs Tru64 UNIX V5.1x HP-UX 11i v2
0 root root
1 daemon daemon
2   bin
3 bin sys
4 uucp, uucpa adm
5   uucp
6 auth  
7 cron  
8 lp  
9 tcb lp
10 adm  
11 ris nuucp
12 wnn  
27   hpdb
30   www
40   webadmin
101   smbnull
60001 nobodyV  
65534 nobody  
-2   nobody


Group Account Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Adding
a Group Account
Using SysMan Menu:

  1. Accounts Manage Local Groups
  2. Add...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Groups
  2. Actions Add...
Command:

groupadd

Command:

groupadd

Modifying
a Group Account
Using SysMan Menu:

  1. Accounts Manage Local Groups
  2. Select group
  3. Modify...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Groups
  2. Select group
  3. Actions Modify...
Command:

groupmod

Command:

groupmod

Deleting
a Group Account
Using SysMan Menu:

  1. Accounts Manage Local Groups
  2. Select group
  3. Delete...

GUI:

dxaccounts

Using SAM:

  1. Accounts for Users and Groups Groups
  2. Select group
  3. Actions Remove...
Command:

groupdel

Command:

groupdel


Default Group Identifiers (GIDs)

Default Group IDs Tru64 UNIX V5.1x HP-UX 11i v2
0 system root
1 daemon other
2 uucp bin
3 mem, kmem sys
4 bin adm
5 sec daemon
6 mail mail
7 terminal, tty lp
8 news  
9 opr  
10   tty
11 auth nuucp
12 lp, lpr  
13 backup  
13 cron  
14 ris  
15 users  
16 sysadmin  
17 tape  
18 tcb  
19 adm  
20 operator users
101   smbnull
102   cd write
60001 nobodyV  
65534 nobody  
-2   nogroup