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
Technology level update on AIX using smit_update and alt_disk_install method
Viewed 5463 times since Sun, Jun 30, 2019
O’Reilly’s CD bookshelf
Viewed 11683 times since Wed, Jun 27, 2018
AIX: Script to get Total Disk Size
Viewed 3433 times since Tue, Jun 12, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 40586 times since Thu, Jun 21, 2018
Setting new device attributes with chdef
Viewed 2046 times since Mon, Jun 3, 2019
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 13339 times since Thu, Feb 21, 2019
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 7280 times since Tue, Jun 4, 2019
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 2733 times since Tue, Jul 17, 2018
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 14792 times since Fri, Jan 18, 2019
Kerberos, Active Directory and AIX
Viewed 6097 times since Mon, Jun 25, 2018