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
Practical Guide to AIX - network
Viewed 17919 times since Thu, Sep 20, 2018
AIX: Remove existing disk
Viewed 2800 times since Sun, Jun 3, 2018
Configuring an AIX client with multiple Kerberos realms
Viewed 9241 times since Mon, Jun 25, 2018
AIX - How to unlock and reset user’s account
Viewed 16923 times since Fri, Jun 8, 2018
NMON nmon
Viewed 12210 times since Tue, Apr 16, 2019
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 3820 times since Tue, Apr 16, 2019
AIX - How to get Memory infomation
Viewed 11124 times since Fri, Jun 8, 2018
Do you Know These 5 Use of V$session View ?
Viewed 109159 times since Thu, Jun 21, 2018
Setup private yum repository for AIX clients
Viewed 11399 times since Thu, Feb 21, 2019
How to Easily Generate AIX Systems Management Reports
Viewed 3127 times since Wed, May 30, 2018