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
LVM: Shrink & extend a filesystem/volume
Viewed 2853 times since Sun, Jun 3, 2018
Part 1, The basics of network troubleshooting
Viewed 7033 times since Tue, May 22, 2018
Practical Guide to AIX - network
Viewed 19030 times since Thu, Sep 20, 2018
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 12232 times since Thu, Feb 21, 2019
AIX Undocumented AIX command lquerypv
Viewed 4551 times since Tue, Jul 17, 2018
View mksysb content & restore individual files
Viewed 2706 times since Tue, Jul 17, 2018
AIX TCP connection status
Viewed 20660 times since Mon, Jul 29, 2019
Oslevel shows wrong AIX’s level. Why
Viewed 5611 times since Thu, Feb 21, 2019
How to deal with performance monitoring in AIX ?
Viewed 8626 times since Fri, May 25, 2018
Using Shell Redirection: All About the Here-Doc
Viewed 11400 times since Wed, May 30, 2018