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
Do you Know These 5 Use of V$session View ?
Viewed 85869 times since Thu, Jun 21, 2018
AIX Net How to check VLAN ID number on AIX?
Viewed 14646 times since Thu, Nov 29, 2018
AIX, Security, System Admin↑ Fix user accounts
Viewed 4402 times since Fri, Apr 19, 2019
Installing a Interim Fix (APAR IV16587)
Viewed 2648 times since Tue, Jul 17, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 4515 times since Sun, Jun 17, 2018
Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 2260 times since Mon, Jun 3, 2019
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 1939 times since Thu, Feb 21, 2019
How to start daemons at the system startup in AIX servers
Viewed 2125 times since Tue, Jun 18, 2019
AIX: Script to create a file with commands to remove missing & failed paths
Viewed 2865 times since Tue, Jun 12, 2018
Install and configure yum on AIX
Viewed 4217 times since Thu, Feb 21, 2019