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 identify the program listening in the given port
Viewed 2039 times since Mon, Jun 11, 2018
AIX Errpt - Diag - Alog
Viewed 3105 times since Wed, Mar 20, 2019
This document discusses a new feature implemented for JFS2 filesystems to prevent simultaneous mounting.
Viewed 2479 times since Sat, Jun 1, 2019
How to Use the Linux lsof Command
Viewed 10737 times since Sun, Jun 30, 2019
Technology level update on AIX using smit_update and alt_disk_install method
Viewed 5053 times since Sun, Jun 30, 2019
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 11879 times since Wed, Jun 19, 2019
How to set Kernel Parameters in AIX ?
Viewed 13692 times since Tue, Jul 2, 2019
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 14660 times since Sun, Jun 30, 2019
Script HW/SW AIX
Viewed 8545 times since Mon, Jun 4, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5076 times since Sat, Jun 2, 2018