I have a 1 GB jazz drive. The jazz disk is used daily, both at home and at work on my Win 98 Server. So, I have to keep it in vfat format, which is fine because Linux rocks and will read it no problem. However, I can't just stick the disk in the drive and open up the jazz folder in my mnt directory. I have to "mount" the drive using this command, mount -t vfat /dev/sda4 /mnt/jazz No big deal, and I even wrote a small script file to run that command. Only one problem, you have to login in as root on the command line for Linux to "mount" or "umount" a drive. I am lazy and want to click the icon and have it login in as the root for me. Now, some might say that is a security risk since my password will be stored in the file, but I don't care because this computer is at home and I just don't care. I don't have any friends that run Linux so they are not going to have a clue anyway.
Then, I would want to "umount" the drive with another icon. Make sense?
So, how do you write a login script?