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
IP configuration in AIX
Viewed 4498 times since Tue, Jul 17, 2018
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 5100 times since Tue, Apr 16, 2019
Finding password rules in AIX
Viewed 3549 times since Mon, May 28, 2018
Manages processor scheduler tunable parameters schedo AIX
Viewed 3570 times since Thu, Sep 20, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 5794 times since Tue, Jun 14, 2022
Useful AIX commands
Viewed 11514 times since Sun, Jun 17, 2018
Using AIX VG mirroring in combination with hardware snapshots
Viewed 6393 times since Sat, May 25, 2019
Restoring mksysb
Viewed 4772 times since Wed, May 30, 2018
AIX - How to get Memory infomation
Viewed 14427 times since Fri, Jun 8, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 4956 times since Fri, Feb 1, 2019