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
Using the AIX splitvg command
Viewed 5514 times since Mon, Jun 3, 2019
Removing Failed or Missing Paths
Viewed 4866 times since Wed, May 30, 2018
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 14035 times since Thu, Feb 21, 2019
Software management in AIX
Viewed 8157 times since Mon, Jun 25, 2018
AIX oslevel version OS
Viewed 5983 times since Wed, Apr 17, 2019
AIX QHA
Viewed 12135 times since Mon, Jun 3, 2019
Recovery AIX system when hang on boot (554 code error).
Viewed 18834 times since Thu, Feb 21, 2019
SNAP in AIX
Viewed 13090 times since Mon, Sep 17, 2018
AIX alt_disk_copy
Viewed 11124 times since Sun, Jun 30, 2019
IBM AIX MPIO: Best practices and considerations
Viewed 14446 times since Wed, May 30, 2018