Below is my real and effective UIDs and GIDs. My task is to implement a bash script (Ubuntu 10.10 desktop) which should auto create 3 directories rtkit
, admin
, pr007drdl
(group names) in /home directory
.
Once I have the bash script, I will create an init start/stop script, so should create directories when user logs in. I am totally new to bash scripting. Please help. Thanks in advance. I have no idea where gids' and uids' stored.
uid=10002(sandy)
gid=119(rtkit) groups=119(rtkit),10001(admin),10003(pr007drdl)