User Management

User and Group Account Administration

Default User Identifiers

User ID HP-UX
0 root
1 daemon
2 bin
3 sys
4 adm
5 uucp
6 not assigned
7 not assigned
8 not assigned
9 lp
10 not assigned
11 nuucp
12 not assigned
27 hpdb
30 www
40 webadmin
101 smbnull
60001 not assigned
65534 not assigned
-2 nobody


passwd :-This command enables you to change the password for a specified user.

useradd :-This command creates a user login on the system by adding the appropriate entry to the /etc/passwd file. HP-UX operating systems have the same options with the following exceptions:

-k skel_dir specifies the skeleton directory.

-b dir specifies the base directory.

usermod

This command modifies an existing user login on the system by changing the appropriate entry in the /etc/passwd file. HP-UX operating systems have the same options with the following exceptions:

-k skel_dir specifies the skeleton directory.

-f days specifies the number of days of continuous inactivity before the login is declared inactive.

userdel :-This command deletes a user login from the system.

-r options

groupadd :-This command creates a group on the system by adding the appropriate entry to the /etc/group file.

groupmod :-This command modifies an existing group account on the system by changing the appropriate entry in the /etc/group file.

groupdel :-This command deletes a group account from the system. There are no options in the HP-UX version of this command

Sudo:- The HP-UX support a third party application named sudo, which allows a given user, specified in a file named /etc/sudo, to execute a command as the superuser or as another user

No comments:

Post a Comment