A "new" user. Files in there /u0/users directory, but ckuser reports as this example shows... ckuser.bash csaxby1 ============================= ls -ld /u0/users/csaxby1 drwxr-xr-x 6 csaxby1 domain-users 76 Jan 27 14:11 /u0/users/csaxby1 ============================= df -hT /u0/users/csaxby1 Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/ol_rhel7lamp-root xfs 145G 126G 20G 87% / ============================= egrep -w -n csaxby1 /etc/fstab ============================= egrep -w -n csaxby1 /etc/mtab umount /u0/users/csaxby1; ls -ld /u0/users/csaxby1; mount /u0/users/csaxby1; ls -ld /u0/users/csaxby1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ### A directory was provisioned but the proper entry in /etc/fstab DNE. ### So what to do? cd /usr/local/bin vi ckthese # delete old ones and the new usr Run the commmand below and you should see output like this user has: [root@harveyv bin]# ./CKUSERS-AD_file.bash ckthese ================================= USER - csaxby1 ################ objectGUID:: BW6KSPf0lU6BJQQWivfJYA== uid: csaxby1 msSFU30Name: csaxby1 msSFU30NisDomain: BU uidNumber: 100952830 gidNumber: 100000 unixHomeDirectory: /u0/users/csaxby1 loginShell: /bin/bash bnumber: B00952830 ================================= ### Now this user needs to the proper entries made, ### but the user directory was created in /u0/users ## So using the same user as an example ... cd /u0/users mv csaxby1 0.csaxby1 cd /admlocal vi newuserlist.txt # delete old and add new user ./RunNewUserAdd.bash newuserlist.txt student Tue Jan 28 06:50:29 EST 2025 ./RunNewUserAdd.bash: /admlocal/CheckNewUserList.bash newuserlist.txtdos2unix: converting file newuserlist.txt to Unix format ... 4918 curusers 1 newuserlist.txt 0 newuserlist-d.txt 1 newuserlist-u.txt 4920 total Tue Jan 28 06:50:29 EST 2025 ./RunNewUserAdd.bash: /admlocal/AddNewUsers.bash studentTue Jan 28 06:50:29 EST 2025 ./RunNewUserAdd.bash SetNewUsers.bash student >> LOG/2025-01-28-1738065029-student-SetNewUsers.run 2>&1student Check the LOGS in /admlocal/LOG for files 2025-01-28-1738065029-* --- -- --------------------------------------------------------------- /admlocal/mountnewusers.sh to mount the users windows share. --- -- --------------------------------------------------------------- /admlocal/chownnewusers.sh to check user(s) is/are valid. --- -- --------------------------------------------------------------- /admlocal/mountnewusers.sh; /admlocal/chownnewusers.sh; /admlocal/dfnewusers.sh ------------------------------------------------------------------------------- Tue Jan 28 06:50:29 EST 2025 sh -x /admlocal/mountnewusers.sh + mount /u0/users/csaxby1 sh -x /admlocal/chownnewusers.sh + cd /u0/users + chown csaxby1:domain-users + ls -ld csaxby1 drwx--x--x 2 csaxby1 domain-users 0 Oct 7 15:22 csaxby1 ### Now mve the files that user created into a properly created account cd /u0/users cd csaxby1 ls -ltra ../0.csaxby1 mv ../0.csaxby1/* . ls -l total 16 -rwxr-xr-x 1 csaxby1 domain-users 10277 Oct 7 18:30 Basys_3_Master.xdc drwx--x--x 2 csaxby1 domain-users 0 Jan 27 13:55 CS212 -rwxr-xr-x 1 csaxby1 domain-users 3925 Oct 7 18:53 top.vhd ### Whats this! more files then what were in the provisihed account ### This often occurs. The BUShare existed but he was not reported to ### me as a new HarveyV user. ### Bit of cleanup cd /u0/users ls -ld 0.csaxby1 drwxr-xr-x 5 csaxby1 domain-users 64 Jan 28 06:58 0.csaxby1 [root@harveyv users]# rm -rf 0.csaxby1 ### Now confirm this all did what was expected. cd /admlocal/UTILS/CHECKMOUNTS/ ./rmlastrun.sh /admlocal/UTILS/CHECKMOUNTS/CkMountRelated-noemail.bash Jan 28 2024 ${uOucount} -eq ${fstabcount} ${uOucount} -eq ${mntusers} 4916 -eq 4916 4916 -eq 4916 TotalCnt = 4916 Good Run