I want to unmount a network drive on exit, so as no one else can access the mounting.
I used the command
"umount /mnt/hdrive" on the /root/
but when I logout and logback in again the folder still exists... why is this?
The reason why im doing this is that when I log on to root, I want to mount a network drive using samba so that I can map a folder so i can access it with ease (like a home network drive). Once I login it asks me for a password - which is great, but if i log in again, it wont ask for a password n just have the folder there and anyone can access it. Thats why I want to unmount the path on exit
Ol :? i