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 splitvg in AIX to make a copy of a volume group
Viewed 9727 times since Mon, Jun 3, 2019
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 16550 times since Thu, Feb 21, 2019
How to enable Large Pages for a specific user on AIX?
Viewed 3550 times since Thu, Nov 29, 2018
Install and configure GNU watch (gwatch) on AIX
Viewed 8544 times since Thu, Feb 21, 2019
AIX Password expiry /etc/passwd
Viewed 20936 times since Wed, Jul 3, 2019
Restoring mksysb
Viewed 4326 times since Wed, May 30, 2018
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 5231 times since Wed, Jun 19, 2019
IVM and VLAN Tagging
Viewed 11145 times since Mon, May 28, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 11257 times since Wed, Jun 5, 2019
Do you Know These 5 Use of V$session View ?
Viewed 157435 times since Thu, Jun 21, 2018