[Ilugc] printer access from user mode

  • From: mail2ravim@xxxxxxxxx (ravikumar m)
  • Date: Tue Sep 25 11:11:09 2007

On 9/19/07, Suresh Ramasubramanian <linux@xxxxxxxxxxxxxxxx> wrote:


On Wed, Sep 19, 2007 at 04:05:21PM +0530, ravikumar m wrote:
I feel that my communication is not properly done in explaining the
problem.
Let me tell again.

I understood you the first time.

If your user is in the lp/lpadmin group you can access a printer when not
root. If your user is in group audio, you can tweak your speaker volume,
play mp3s etc. Clear now?

        srs


Hi
sorry for delay in reply.

iI didnt get exactly what to try here with lpadmin
I tried like this:

$ which lpadmin
/usr/sbin/lpadmin
$ls -l /usr/sbin/lpadmin
-rwxr-xr-x    1 root     root        21668 Aug  9  2005 /usr/sbin/lpadmin
$
$lpadmin -p tempname
$
$lpadmin -p tempname -i /proc/bus/usb/004/002
Password for ravion localhost? Terminated
$

i have tried changing the file permissions with chmod +s & g+s but no useful
outputs.

Pl tell me how to try here.

Thanks
Ravi





_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: