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 do you send an attachment via mail
Viewed 2773 times since Mon, Jun 11, 2018
Setting new device attributes with chdef
Viewed 2147 times since Mon, Jun 3, 2019
Install and configure GNU watch (gwatch) on AIX
Viewed 7709 times since Thu, Feb 21, 2019
VIO Server Howto
Viewed 10002 times since Mon, Jun 11, 2018
Part 3, Monitoring your network packets and tuning the network
Viewed 5918 times since Mon, Jun 4, 2018
Create volume groups on AIX - Normal Big Scalable
Viewed 6640 times since Thu, Feb 21, 2019
How to Use the Linux lsof Command
Viewed 11466 times since Sun, Jun 30, 2019
AIX TCP connection status
Viewed 16553 times since Mon, Jul 29, 2019
AIX, Networking Etherchannel failover testing
Viewed 2503 times since Fri, Apr 19, 2019
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 4442 times since Wed, Jun 5, 2019