Removing AIX groups & user accounts

Removing AIX groups


  1. Change directory to /homecomm/nsek/create_id_grp.

  1. Comment the group.

e.g. Remove a group “uatwrite” in server opfqa02

Comment the group “uatwrite” in file “mkgroup_user.ksh

#-----------------#
# opfqa02
#-----------------#
mkgroup -A id=1258 biouctl
mkgroup -A id=1263 uatread
#mkgroup -A id=1264 uatwrite
  1. Run this command:
rmgroup uatwrite

Removing AIX user accounts


  1. Lock this user id:
#chuser account_locked=true gzhang



Post a Comment

Previous Post Next Post