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
Tunneling With SSH to Your Destination
Viewed 5092 times since Wed, May 30, 2018
AIX Increase paging space logical volume size
Viewed 3581 times since Tue, Jul 17, 2018
AIX disk queue depth tuning for performance
Viewed 16874 times since Thu, Jan 16, 2020
A Unix Utility You Should Know About: lsof
Viewed 2489 times since Tue, Apr 16, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 6315 times since Tue, May 22, 2018
AIX 7.2 running on my Macbook?
Viewed 13528 times since Mon, Jun 3, 2019
IVM and VLAN Tagging
Viewed 11038 times since Mon, May 28, 2018
Configuration of AIX Fast Connect and SMBFS
Viewed 9395 times since Mon, Jun 18, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 6245 times since Sat, Jun 2, 2018
Script HW/SW AIX
Viewed 9843 times since Mon, Jun 4, 2018