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
There are no attachments for this article.
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
Rootvg Mirroring in AIX
Viewed 2229 times since Mon, May 21, 2018
Viewed 7511 times since Fri, Jun 15, 2018
Monitoring Events with AIX Audit
Viewed 3482 times since Wed, May 30, 2018
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 6812 times since Tue, Jun 4, 2019
AIX - How to get CPU infomation
Viewed 4405 times since Fri, Jun 8, 2018
R2dump debug tool
Viewed 1618 times since Tue, Sep 8, 2020
Oslevel shows wrong AIX’s level. Why
Viewed 4316 times since Thu, Feb 21, 2019
10 AIX Commands to Add to Your Toolbox
Viewed 3946 times since Sat, May 19, 2018
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 2440 times since Mon, Jun 3, 2019
Technology level update on AIX using smit_update and alt_disk_install method
Viewed 5057 times since Sun, Jun 30, 2019