d8bb
![]() |
|
|
|
|
|||||||
| Howtos & FAQs (Moderated) Would you like to share some of your solutions for certain problems? Tips or tricks? Post here. All new topics are automatically moderated. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
The mounting of a removable device by a user may be granted with the PolicyKit Authorization tool under the Advanced tab of System Settings. To accomplish this you will need to run System Settings with root authorization. This can be achieved in several manners, but typing su and entering a password isn't one of them. If you are already capable of obtaining root authorization your own way, stick with that. Using the "ALT F2" shortcut keys then entering "kdesu systemsettings" works best.
This is an alterntive way to gain root authorization that can be used without entering a password: Install sudo Code:
pkg_add -r sudo User Manager in the Systems menu works for me Open a terminal as root and type Code:
visudo "Uncomment to allow people in group wheel to run all commands" uncomment whichever way you choose to roll type Code:
:W type Code:
:Q Code:
exit Code:
sudo kwrite open /etc/fstab and add the following line to fstab Code:
proc /proc procfs rw 0 0 Code:
sudo systemsettings Open PolicyKit Authorization under the Advance tab Open org.freedesktop > Storage > Hal and select Mount file systems from removable drives On the right side of the tab select the Grant button In the popup window Select User drop down list pick whichever user you wish to grant this authorization to. I was able to automount the 3 USB flash drives I tried by clicking on their labels in the Device Notifier popup.
__________________
"An operating system (OS) is an interface between hardware and user." en.wikipedia.org/wiki/Operating_system "I use FreeBSD as my operating system and I'm pretty happy with it." Kedar Damle FreeBSD for all podcast. Last edited by topher; January 11th, 2010 at 05:09. Reason: kdesu suggestion by tkjacobsen |
| The Following User Says Thank You to topher For This Useful Post: | ||
tkjacobsen (January 2nd, 2010) | ||
|
#2
|
|||
|
|||
|
I think kdesu is the preferred way of opening gui apps in kde with super user priviledges. This allows you to open from krunner (alt+f2) meaning you do not have to open a termial -- also you can skip installation and configuration of sudo. (BTW, my opinion is that a sudo guide does not have to be included here, just say "install sudo")
Otherwise nice small HOWTO. EDIT: one more thing: use kwrite and not kate as the first is in kdebase but the latter in kdesdk. |
|
#3
|
||||
|
||||
|
Thank you, tkjacobsen. I've used kdesu before and it did seem smoother, but I think I needed gksu to be installed for it to be available to me and that meant installing the gnome desktop along with it. I'm not sure about this, but I couldn't find kdesu in ports.
__________________
"An operating system (OS) is an interface between hardware and user." en.wikipedia.org/wiki/Operating_system "I use FreeBSD as my operating system and I'm pretty happy with it." Kedar Damle FreeBSD for all podcast. |
|
#4
|
|||
|
|||
|
I think it comes with kdebase. I cannot seem to fint an executable, but it works from krunner...
EDIT: /usr/local/kde4/lib/kde4/libexec/kdesu was installed by package kdebase-runtime-4.3.4 |
| The Following User Says Thank You to tkjacobsen For This Useful Post: | ||
topher (January 3rd, 2010) | ||
|
#5
|
||||
|
||||
|
Thanks again, just typed "kdesu systemsettings" in krunner and after entering the password the System Settings GUI opened with root privledges. Much smoother than the way I described. I'll edit the post to suggest this method.
__________________
"An operating system (OS) is an interface between hardware and user." en.wikipedia.org/wiki/Operating_system "I use FreeBSD as my operating system and I'm pretty happy with it." Kedar Damle FreeBSD for all podcast. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] USB automount and hal daemon | melgo | Peripheral Hardware | 20 | December 4th, 2009 17:44 |
| 8.0-RC1 USB Automount Issue (Gnome) | jcarver | GNOME | 7 | October 26th, 2009 22:20 |
| HAL - anyone had luck with automount large usb drive 250GB's | gr1ml0ck | Peripheral Hardware | 6 | October 8th, 2009 20:08 |
| 'Feature only available with HAL', USB external drive | Eponasoft | System Hardware | 2 | July 12th, 2009 05:46 |
| Encrypting a File System: No pass w/usb key | ieska328 | General | 1 | July 2nd, 2009 17:06 |