LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2013, 11:31 AM   #1
santhanam2006
LQ Newbie
 
Registered: Mar 2010
Posts: 29

Rep: Reputation: 0
Can not enable printer


I can not enable printers using

cupsenable command by non-root users.

RHEL 5.4.

what is the procedure to make non-root users to use

cupsenable command.

santhanam
 
Old 07-23-2013, 12:24 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You could add the command to the sudoers file with nopasswd option for all users so that any user can just sudo it which I think is the proper way. You can look into using the setuid permission bit, this is what allows commands like passwd to be used by regular users even though it requires root privileges to modify the /etc/shadow and /etc/passwd.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can a non-SU edit their local printer settings (delete jobs, enable printer)? tsaichhorn Linux - Newbie 6 02-20-2013 07:37 AM
[SOLVED] Where to enable printer in CUPS waddles Linux - Software 2 10-10-2012 02:30 AM
How to enable printer santhanam2006 Linux - General 1 04-25-2012 08:59 AM
enable printer thunyiwe Linux - Newbie 2 05-15-2008 10:44 AM
enable printer in linux engrneil Linux - Hardware 2 10-09-2005 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration