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
How To Mirror VG and Root VG
Viewed 2857 times since Mon, May 21, 2018
IBM AIX multipath I/O (MPIO) resiliency and problem determination
Viewed 12992 times since Wed, May 30, 2018
Topics: AIX, System Admin↑ Export and import PuTTY sessions
Viewed 2810 times since Fri, Apr 19, 2019
Part 3, Tuning swap space settings AIX7
Viewed 8826 times since Wed, Jun 19, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 5120 times since Tue, May 22, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 4932 times since Mon, May 21, 2018
AIX TCP connection status
Viewed 16221 times since Mon, Jul 29, 2019
Creating Normal,Big,Scalable VG on AIX
Viewed 14266 times since Fri, Feb 1, 2019
Script to show Total, Free and Used Memory on AIX
Viewed 3224 times since Thu, Nov 29, 2018
AIX boot proccess
Viewed 2708 times since Tue, Apr 16, 2019