LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2005, 06:00 AM   #1
dunny05
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
giving permissions or joining groups?


After many weeks and many OSes I now have CUPS running & my Canon scanner working. However to use CUPS I need to enter and log on as root and start printer every time I want to print? Can this be changed?

My scanner I can only scan while logged in as root and I am using SANE but I can not link it to the OCR in office. I have not downloaded any gui progs until I resolve these issues. Can I change permissions here as well.
TIA
Geoff
 
Old 04-19-2005, 10:10 AM   #2
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
I think you can add all users who need access to the apps to a group that has execute privileges for the said apps.
 
Old 04-20-2005, 05:43 AM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I recently upgraded my kernel from 2.4.27 to 2.6.8 and had to fix my scanner that had stopped working.

With 2.4 kernels you can use either "scanner.o" kernel module OR "libusb" to detect scanner. 2.6 kernels use only "libusb".

I suggest "libusb", because it is not dependent on kernel drivers. Install it, and hotplug also. Make sure that hotplug is set up to change scanner permissions to "root.scanner", "rwrw--" or similar. "Libsane" should take care of adding a hotplug script that does the permission changes.

After that, add users to "scanner" group, and after replugging the (usb) scanner everything should work. Check "man usermod" for info on adding users to groups. "Usermod -G" is the key.

I notice on my Debian that the scanner permissions are "root.root", "rw----" until I unplug and replug the scanner. So if the scanner is connected at boot time, it will work only as root.

Check "Scanner howto" for more information. I hope this helps you...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
groups and permissions g_trueblood Slackware 2 10-07-2005 04:36 AM
multiple groups permissions steve007 Linux - Newbie 2 07-01-2005 12:24 PM
Giving Kppp rights to other users n groups xxx_anuj_xxx Linux - Security 5 12-22-2004 06:12 PM
users/groups and permissions.... muman Linux - Newbie 2 09-21-2004 11:20 AM
user groups and permissions yank_ Linux - Newbie 1 02-26-2001 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 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