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
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 10979 times since Thu, Feb 21, 2019
AIX, System Admin↑ The chrctcp command
Viewed 3238 times since Fri, Apr 19, 2019
AIX LVM QUORUM mysteries revealed
Viewed 3555 times since Wed, May 22, 2019
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 4849 times since Wed, Jun 5, 2019
Part 1, The basics of network troubleshooting
Viewed 5766 times since Tue, May 22, 2018
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 11766 times since Thu, Feb 21, 2019
Online Backups and Recovery in a Snap AIX
Viewed 5378 times since Wed, May 30, 2018
AIX Undocumented AIX command lquerypv
Viewed 3820 times since Tue, Jul 17, 2018
VIO Server Howto
Viewed 10490 times since Mon, Jun 11, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 101224 times since Thu, Jun 21, 2018