If I haven't made my appreciation clear, let me take this opportunity to
say THANKS, Craig, for patiently helping me out with my networking
questions.
Ever the one to continue taking advantage, I have one more question-
I found once I got it all together and place an entry in my /etc/fstab
file so the network directory would mount on my laptop at startup, that
it causes my laptop to hang for quite awhile on reboot. I decided that
since I will be needing to access this directory only occasionally for
backup purposes at present, I did not want it to automount at boot, but
would rather do it manually. But not too manually. I want to manage it
with a shell script which I can invoke by clicking a desktop icon when
needed.
Writing the script was no biggie, nor was making it executable or
creating the desktop icon. The hitch in the giddyup is that the mount
command must be run as root, and whereas that is no problem if invoking
the script from a terminal by its pathname, I have no idea how to set it
up so that I get a prompt for root password when running the script with
an icon. Putting "su" into the script is no good, it seems, as the su
command must be run from a terminal, and Linux is fetishistic enough in
its security measures that it ignores attempts to suid a shell script.
Any ideas? I have googled relentlessly, and while I found a few
suggestions online, none of them proved viable in this circumstance.
--
Lee Einer
Dos Manos Jewelry
http://www.dosmanosjewelry.com
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss