View Full Version : [ubuntu] allowing a certain program to have root privileges

May 27th, 2008, 08:44 AM
How do i allow ClamTk (virus scanner) to have root privileges, without actually logging into root? I wanna do this, because when i try to update signatures, it tells me i need to be root.

I went to terminal and did
gksu clam

but that did nothing.

any suggestions?

May 27th, 2008, 09:01 AM
What do you need a virus scanner for??

May 27th, 2008, 09:02 AM

gksudo clam

May 27th, 2008, 09:07 AM

gksudo clam @OP: If you really really insist on using a virus scanner (you don't need one IMHO) you should read about "visudo":
man visudo ... That's the command used to manipulate the "sudoers" file. You could add the "clam" command so that it won't ask your for a password when you execute it via "sudo" (yes, that can be done). I'd suggest you use Google and search around for examples regarding "sudoers" and "visudo". If done correctly it would make it a lot easier for you I guess (e.g. not having to type the password all the time, etc.)