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
Manually Editing /etc/filesystems Can Cause Issues
Viewed 5324 times since Tue, May 22, 2018
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 12545 times since Wed, Jun 19, 2019
https://www.ibm.com/developerworks/learn/aix/index.html
Viewed 11137 times since Wed, May 30, 2018
AIX 7.2 running on my Macbook?
Viewed 12305 times since Mon, Jun 3, 2019
Rootvg Mirroring in AIX
Viewed 2603 times since Mon, May 21, 2018
AIX disk queue depth tuning for performance
Viewed 15167 times since Thu, Jan 16, 2020
R2dump debug tool
Viewed 2071 times since Tue, Sep 8, 2020
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 10837 times since Thu, Feb 21, 2019
Topics: AIX, System Admin↑ Export and import PuTTY sessions
Viewed 2939 times since Fri, Apr 19, 2019
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 3748 times since Fri, Jun 8, 2018