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
Removing Failed or Missing Paths
Viewed 2982 times since Wed, May 30, 2018
AIX Undocumented AIX command lquerypv
Viewed 3787 times since Tue, Jul 17, 2018
O’Reilly’s CD bookshelf
Viewed 13037 times since Wed, Jun 27, 2018
How to disable SSH cipher/ MAC algorithms for Linux and Unix
Viewed 47323 times since Fri, Aug 21, 2020
AIX Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 9935 times since Wed, May 22, 2019
AIX - How to get Memory infomation
Viewed 11217 times since Fri, Jun 8, 2018
AIX - How to unlock and reset user’s account
Viewed 16969 times since Fri, Jun 8, 2018
Rootvg Mirroring in AIX
Viewed 2937 times since Mon, May 21, 2018
Unlock User ID in IBM AIX
Viewed 15567 times since Mon, May 28, 2018
Using splitvg in AIX to make a copy of a volume group
Viewed 8985 times since Mon, Jun 3, 2019