How to setup an user in AIX

Follow the below steps to create a user in AIX and assign to a group.

Step 1: Create a user

mkuser user-name

 
Step 2: Create a group

mkgroup group-name

 
Step 3: Create a home directory

mkdir /home/users/user-name

 
Step 4: Provide permissions to home directory

chown user-name:group-name /home/users/user-name

 
Step 5: Assign home directory to user

chuser home=/home/users/user-name user-name

 
Step 6: Add user to the group

chuser group=group-name user-name
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX ODM for MPIO User Guide 09
Viewed 4262 times since Mon, Dec 31, 2018
AIX disk queue depth tuning for performance
Viewed 15980 times since Thu, Jan 16, 2020
NTLMSSP, SPN and AIX CIFS
Viewed 8405 times since Fri, Jun 15, 2018
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2987 times since Fri, Apr 19, 2019
AIX Creating a Volume Group
Viewed 2764 times since Tue, Jul 17, 2018
Using Kerberos security with Server for NFS
Viewed 10037 times since Wed, Jun 27, 2018
AIX Booting
Viewed 10789 times since Tue, Apr 16, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 5722 times since Sat, Jun 2, 2018
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 3151 times since Sun, Jun 3, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10953 times since Thu, Feb 21, 2019