Creating AIX user accounts
- Before creating a new user account following the steps below, please check if their account username (should be the same as users office id) already exists by grepping for the username in /homecomm/nsek/create_id_grp directory . If the user is already present on other servers, re-use the same user uid number
- Change directory to /homecomm/nsek/create_id_grp.
- Check the content of last_id_num.
e.g # cat last_id_num
Use the next id in file to create new user (increment by 1 and that will be a new users’ id)
Update the new number in file last_id_num
- if username LAN id is not given, check user’s LAN id using
Active Directory Users and Computers.
- Edit the mkuser command in the appropriate createID-<server>.ksh for record.
# mkuser id=1496 pgrp=<newgroup> gecos='George Zhang' home=/home/gzhang
fsize=-1 fsize_hard=-1 gzhang
- Copy and Paste the mkuser command and execute on the target server.
- Assign password to new user
# passwd <username>
- Create .rhosts and .netrc file on User’s home directory and change ownership (owned by root:system) and permission (640) and (755) respectivity.
# touch .rhosts
# touch .netrc
# chown root:system .rhosts
# chown root:system .netrc
# chmod 640 .rhosts
# chmod 755 .netrc
- Please update user list on the spreadsheet \\sysdev-dms\Administration\#Inventory-Cfg-hdw-sf-control\1. License\1.1 License Files\License Files file if new user is created on the following servers. Approval needs to be given by ASDM - Xiuming Wu.
dmcdbdv01,02,03
dMCdvqa01,02,03
dmcadmdv01
dmcadmqa01
wdmcdbps01
vimqa03
isas*
If users already existed on any on the above servers, no need to update.
If users are new, add into the list following the alphabetic order.