On Fri, 4 Feb 2005, Lee Einer wrote:
> 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.
Try sudo.
Or make it so it can be mounted with root privileges. Such as having
correct access to mount point, etc.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.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