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 check the HBA status
Viewed 18448 times since Tue, May 22, 2018
My LPAR always boots into SMS. Why?
Viewed 4987 times since Tue, Apr 16, 2019
Create volume groups on AIX - Normal Big Scalable
Viewed 8067 times since Thu, Feb 21, 2019
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 4685 times since Tue, Apr 16, 2019
Monitor logfiles and command output on AIX using multitail.
Viewed 3174 times since Thu, Feb 21, 2019
AIX: Script to check if all paths are consistent and available
Viewed 4138 times since Tue, Jun 12, 2018
System Admin Mirrorvg without locking the volume group
Viewed 4038 times since Mon, May 21, 2018
AIX: Script to get Total Disk Size
Viewed 4933 times since Tue, Jun 12, 2018
AIX Cloning a rootvg using alternate disk installation
Viewed 12769 times since Sun, Jun 30, 2019
A Change to the SMT Mode Default in POWER9
Viewed 6728 times since Fri, Jan 18, 2019