-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 FACORAT Fabrice wrote: > Le mar 05/08/2003 à 02:41, Leon Brooks a écrit : > >>On Mon, 4 Aug 2003 19:29, Buchan Milne wrote: >> >>>You see, instead of making it easy for a user to log in as >>>root to do tasks, we must remove the necessity for them to do the >>>tasks ... >> >>Agree. The one task which my wife needs a root password to do is printer >>management. If it were possible to avert this OOtB, that would be good. > > > > sudo
But it also needs to be integrated with the menus IMHO. Does kdesu etc work with sudo? > but it's true that for example just to clean & align inkjet head > printers u need raw access to the device, so root privileges. And sudo > may not be always the solution. > > My experience : > a workstation with NFS /home. only one local user : root. > If I want the secretary to be able to clean her printer, I put kups and > mtink ( the printer is an Epson SC 1160 ) in sudo with root rights, > without password. > mtink is right, the pb is kups. If she launch the sudoed kups, it won't > work ( unable to create socket or find DCOP bla bla bla ). If I want > this work, I have first to launch kups as root, and after if she launch > the sudoed kups it will works ! so for me no interest because I will > have to launch kups as root ( with su ) at least one time before she > launch the sudoed kups if she has reboot the computer. > > The pb seems to be that when launch with sudo, kups try to make DCOP > socket as root but in the home directory of the user, but as on NFS > share root <=> nobody , no way. When i launch kups after a su, it create > the DCOP in the root directory, when the user launch the sudoed kups, it > take this DCOP or at least is able to run. So, does it work via 'sudo su ...' ? Regards, Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/L4zIrJK6UGDSBKcRAnrVAJ0X0YlaJWiPX5bxZd97J3EbbBx1jACfR1+V m+zrmhy0sfdkbk68DeHjDoU= =Dtp+ -----END PGP SIGNATURE----- ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************