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
AIX - How to monitor memory usage
Viewed 5594 times since Fri, Jun 8, 2018
AIX: Script to get Total Disk Size
Viewed 3857 times since Tue, Jun 12, 2018
AIX lsdevinfo
Viewed 10409 times since Mon, Jun 3, 2019
AIX: How do you send an attachment via mail
Viewed 2965 times since Mon, Jun 11, 2018
http://ibmsystemsmag.com/aix/administrator/backuprecovery/remote-sync/
Viewed 5464 times since Wed, May 30, 2018
AIX: How to determine which application created the OS core file
Viewed 2555 times since Mon, Jun 11, 2018
AIX check the HBA status
Viewed 16757 times since Tue, May 22, 2018
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 3112 times since Tue, Jul 17, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 3754 times since Tue, Jun 14, 2022
AIX LVM QUORUM mysteries revealed
Viewed 3429 times since Wed, May 22, 2019