Koozali.org: home of the SME Server

Permissions Questions (Printing and Ibays)

Offline bubbers214

  • **
  • 32
  • +0/-0
Permissions Questions (Printing and Ibays)
« on: July 01, 2005, 06:22:06 PM »
I have a couple of questions about permissions.  The first involves a certain printer that my managers only want specific people to be able to access.  The way it is now if you have a login you can access it, I'm using CUPS as my printing system, can I restrict certain users from accessing this certain printer.  Secondly, currently our fileserver is on a Red Hat 9.0 machine and  we have a share called "data" but there is a lot of sensitive information in that share, so there are permissions that are set from within the share that prevent users from accessing specific folders in that share.   Is there anyway to do that using the Ibay system or do I have to create a seperate Ibay for every single folder?  Thank you in advance for your help.

Robert

Permissions Questions (Printing and Ibays)
« Reply #1 on: July 02, 2005, 01:00:14 PM »
Regarding your first question: CUPS does indeed have a provision for restricting access to printers. See 'man lpadmin', options -u allow:user and -u deny:user.

HTH,
Robert

Offline bubbers214

  • **
  • 32
  • +0/-0
Permissions Questions (Printing and Ibays)
« Reply #2 on: July 06, 2005, 09:16:16 PM »
Thanks for the help, i am looking into that.  Any idea on how the syntax works for specifying which printer to add those options to?  Also, anyone else know about specific permissions from within ibays?

EDIT:  Tried out lpadmin -p "printername" -u deny:all just to test it out, and  every login i tried still let me print. Anyone have experience with lpadmin on SME?  I also tried denying groups with @group and specific users.

Offline bubbers214

  • **
  • 32
  • +0/-0
Permissions Questions (Printing and Ibays)
« Reply #3 on: July 27, 2005, 10:26:57 PM »
i'm really struggling with this guys, anyone have any ideas, and know the correct syntax to use lpadmin?