AIX - User Management - Change User
Using chuser command we can change user properties, i.e. user home directory, shell group, etc. except password
Whenever you create a user that user home directory by default created in /home file system, and default group is staff.
If we want to change the Test user group to system, then your command will be.
#lsuser Test (it will show Test user properties including group information)
#chuser pgrp=system Test (now Test user is assigned to primary group system and secondary group is assigned to staff)
#lsuser Test (It will list modified Test properties, group is system, staff)
Like this we can change all the user properties
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.