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
AIX How to Investigate a System Reboot
Viewed 7133 times since Tue, Aug 14, 2018
Online Backups and Recovery in a Snap AIX
Viewed 5491 times since Wed, May 30, 2018
Changing Ethernet Media Speed for AIX
Viewed 3712 times since Tue, Apr 16, 2019
AIX HA / HACMP, System Admin↑ Mountguard
Viewed 7451 times since Mon, Jun 3, 2019
Convert to Scalable Volume Groups
Viewed 4458 times since Wed, May 30, 2018
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4791 times since Fri, Jul 6, 2018
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 26770 times since Fri, Jun 8, 2018
7 Tips – Tuning Command Line History in Bash
Viewed 5772 times since Fri, Jul 5, 2019
Unlock User ID in IBM AIX
Viewed 15800 times since Mon, May 28, 2018
Script to show Total, Free and Used Memory on AIX
Viewed 3642 times since Thu, Nov 29, 2018