[EMAIL PROTECTED] wrote on 17/08/2004 03:59:22 PM: > Hi, > > RedHat9/KDE > A while ago I tried to create some custom buttons in the Panel. > I wanted to be able to use these to run some 'mount' scripts for > USBFLASH, USBHDD etc. > I had no problem extending the the menus in the menu editor, that was > easy, but.... > To create buttons on the panel that are able to run as 'root' so you can > click and thus mount say the USBFLASH drive, > > how?
A couple of options. Firstly, you could add the usbflash drive to the fstab, and allow users to mount/unmount. man fstab(5) and mount(8) If thats not an option, you could use sudo. man sudoers(5) and sudo(8). Cheers, Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
