You are not logged in.

#1 2005-11-11 19:55:23

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Quick groups question...

I'm wanting to enable non-root access to the CUPS web-interface; can I make a group to which I can add the user to allow this?

If not, which config file do I edit to get around it?

Thanks. smile


.oO Komodo Dave Oo.

Offline

#2 2005-11-11 20:50:05

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Quick groups question...

sudo might do it. visudo edits the /etc/sudoers table
use ALL=NOPASSWD so you do not have to use root's password every time you run cups.


--(*(cs25x--));

Offline

#3 2005-11-13 15:18:00

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Quick groups question...

I appreciate the info cs25x; the reason I couldn't just sudo was because I've removed root as added security, so I can only sudo now (however, sudoing firefox for example doesn't affect the login for CUPS access).

I resolved this easily by just adding myself to 'daemons'; this isn't what I want though, since I don't want my normal user to have access to all the daemons; I only want acess to CUPS. Can anyone tell me the way to allow a specific user to have access to the webadmin page for CUPS? A look through cupsd.conf turned up nothing... :?


.oO Komodo Dave Oo.

Offline

#4 2005-11-14 04:04:06

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Quick groups question...

In that case, use the lp group with cups access and add yourself to it, or go change the /etc/cups/cupsd.conf to restrict access. I do not have a printer these days, this is just from memory. Look in cupsd.conf, and try the SystemGroup. The other spot in there is the Auth/access permissions section(s) I think you should be able to solve your problem in there.


--(*(cs25x--));

Offline

#5 2005-11-14 14:26:24

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Quick groups question...

I'll go check it out; cheers for the info, i appreciate it  wink


.oO Komodo Dave Oo.

Offline

#6 2005-11-16 14:29:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Quick groups question...

lppasswd

might be worth a look


Mr Green

Offline

#7 2005-11-16 16:26:06

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Quick groups question...

I'll give that a go too, thanks Mr Green big_smile


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB