Allowing unprivileged users to restart print service

Howdy,
How would I add a user or group of users to be allowed to use server admin "Just" to restart the printer service, or otherwise admin the printer services. No other rights would be given to administer the server.
I assume there is a local group I can add their accounts to, but I'd rather use their open directory or active directory accounts.
Thank you for your attention,
Nate

Hi & welcome to the forums.
There is no Server Admin way to do whay you want afaiaa. So, this answer is a complete guess and may screw up your system.
There is a print group called lp in netinfo. If you can create a netinfo user called, say, PrintAdmin, and add it to the lp group, you may be able to give the PrintAdmin user access to the CUPS interface via port 631 using a web browser.
You will see this interface if you go http://localhost:631 while at your server. And, from this interface the PrintAdmin user may be able to to what you want.
But, this all begs the question, why do you need non-admins to restart a service?
hth,
b.

Similar Messages

  • Script to find a user and restart two services

    I am looking to make a script to first find a user that is connected to a server (list) the to stop Spooler, then stop cpsvc. Once the services are stopped, the script would then clear out the folder on "C:\Windows\System32\spool\PRINTERS"
    Directory. Once that was done, the script would then start Spooler and cpsvc. At the end it would echo the services were restarted and to try to print now.
    Lee Mossolle

    A user cannot stop and start services and cannot delete files in the system folders.
    There is no need to look for the services in that way  You will have to do this remotely.  Just find the services if they exisit and stop them then remotely delete the contents of the spooler folder.
    PowerShell remoting would be the easies way to do this.
    strComputer = WScript.Arguments(0)
    WScript.Echo "Running Against Remote Computer Named: " & strComputer
    set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name = 'cpsvc' OR Name = 'spooler'")
    for Each objService in colListOfServices
    objService.StopService()
    objService.StartService()
    Next
    Until you understand how yor code will work avoid over coding.  It just adds confusion and errors.   The above is functionally equivalent to what you posted. 
    I suspect there may be a dependency between cpsvc and spooler.  In that casr yo can only kill them in the correct order.  This will require to loops of a more sophisticated scripting approach.
    We can also use the 'Forse' argument and retriev the master service (spooler) and force it to stop all dependent services.  We would then retrive all services and start them. We can also just retrieve the dependency list and use that.
    The code is simple and will allow the dependencies to be added if needed.
    You can also use PowerShell which is much easier.
    Get-Service spooler -computer remotepc | Stop-Service -force
    Get-Service spooler -computer remotepc | Start-Service
    We can wrap this in a function for convenience.
    ¯\_(ツ)_/¯

  • How do I allow other users on my wifi to print from their computers?

    How do I allow other users on my network (wifi) to print on my printers? 

    Hi there,
    You may find the article below helpful.
    iTunes: How to share music between different accounts on a single computer
    http://support.apple.com/kb/HT1203
    -Griff W.

  • How to allow domain users to customize page Size in Adobe PDF printer.

    Hi all,
    I am not able to customize page size in Adobe PDF printer when I logged in with Domain user login. But I am able to Customize PDF printer in admin Login.
    I need a solution to allow Domain users to customize page size for Adobe PDF printer.
    Looking for a solution ASAP
    Regards
    Nagesh

    Oops, I misread your question, so I edited my response.

  • What 3rd party companies are there that offer a photo printing service for ipad2 users? I suppose I am looking for a similar service to iPhoto on the MacBook pro but so far I've had no joy. I'm uk based.

    What 3rd party companies are there that offer a photo printing service for ipad2 users? I suppose I am looking for a similar service to iPhoto on the MacBook pro but so far I've had no joy. I'm uk based.

    Are these the kind of thing you're looking for:
    http://itunes.apple.com/us/app/lifepics/id323705153?mt=8
    http://itunes.apple.com/us/app/walgreens-for-ipad/id430444027?mt=8
    Matt

  • How can I allow the user to pause the audio of a slide (and restart it) before continuing on to the

    Most of my slides have a combination of test/graphics and voiceover.  I would like to allow the user to pause, resume, and replay the audio of each slide.  I know, as a learner, I sometimes need to go back and hear something again -- or pause until a distraction has passed.
    How can I tie audio to a playbar or set of buttons?  I know if it's video, it can be done.  How do I give them control of the audio? 
    I am in Captivate 7.  My files are .mp3 files.
    Thanks - TL

    You cannot add extra buttons to the playbar but you could add a Replay button to the slide and have this button execute a Standard Advanced action with a Jump to Slide action that points to the same slide you are currently on.  This should effectively jump your user back to the beginning of the same slide.

  • How can my users unpause a printer without admin login?

    Everytime a printer goes into a paused state it requires me to login as the admin for the que to unpause the printer.  Any ideas?

    Hi!
    Disable printer queue password requirements for 10.5 (works also in 10.6.8):
    Mac OS X 10.5 requires you to enter an administrator's password to pause/resume a print queue, where no previous version of OS X has done so. This is extremely annoying in a lab setting -- if there's a paper jam or something, the queues on all the computers need to be restarted by an administrator, instead of the user just clicking Resume. I haven't seen a solution to this elsewhere, so here's what I came up with:
    1. As root, or in a Terminal session with su privileges, edit /etc/cups/cupsd.conf.
    2. Find this section:
    Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>     AuthType Default     Require user @AUTHKEY(system.print.admin) @admin @lpadmin     Order deny,allow</Limit>
    3. Remove the items you don't want limited: Pause-Printer, Resume-Printer, Pause-Printer-After-Current-Job, etc.
    4. Save the file, quit the editor, and restart your computer.
    Found here: http://hints.macworld.com/article.php?story=20081107092520601
    You can also do this in a webbrowser on localhost:631 (127.0.0.1:631)
    Peter.

  • How do I allow my users to set the option to save a new timezone for future sessions?

    The option to save a newly selected timezone for future sessions has been greyed-out
    in the Calendar Client. How can I allow my users to choose this option?
    <P>
    This is controlled by the settimezone setting on the Calendar Server. By
    default, it is set to FALSE. You can change the value to TRUE in the
    unison.ini settings. The
    Calendar Server must be restarted for the change to take effect.

    Hi,
    Based my research, OOB SharePoint don’t allow anonymous users to contribute contents(Edit, Upload and Add) into list and library.
    This is by design behavior, and it’s a consideration about security in order to help protect your site from potential script injection attacks.
    For anonymous users, only the View Item permission is available for libraries.
    If you want to know more about this, please refer to
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/enable-anonymous-access-HA010113018.aspx
    Hope this helps
    Thanks!
    Stanfford

  • User can't print from Reader, tried multiple troubleshooting steps

    Working with a client who can no longer print from Reader (v11.0.10). Windows 7 Pro x86 machine.  Tried printing after each of the following steps:
    Rebooted PC
    Restarted Print Spooler service
    Uninstalled/Reinstalled Reader v11 (from fresh download)
    Set PDF/A option to "Never"
    Set Advanced option for "Print as image"
    Uninstalled v11 and installed v10 (from fresh download)
    Set v10 option to "Print as image"
    In each instance, the printer queue shows no activity following a print command from Reader.  No document is hanging or even appearing in the queue.
    Test prints from other applications (MS Excel) and from the printer properties Test button both work flawlessly. When test printing from other apps, the documents are briefly visible in the print queue.
    She gets no error message.  It simply does not print.  Have attempted with multiple documents and sending to different printers.
    Next step is going to be installing third-party PDF reader software and scrapping Reader altogether.  Please advise if there are any additional troubleshooting steps before abandoning this product.

    No dice. Tried disabling protected mode and still could not print.
    Installing Foxit Reader (http://www.foxitsoftware.com/Secure_PDF_Reader/index.php) so at least user can print PDFs.  I will keep monitoring this post for any further suggestions anyone may come up with.

  • I can't go further "waiting for Printer Services" on Mac OS X 10.3 can U?

    Evening, I'm a new user, and ocassionally use my iBook.I turned it on but it takes ONE HOUR to get to the prompt Waiting for Printing Services. I was advised to re boot but no success, I guess this all happened after i tried to update latest version.
    I appreciate if you can help!!!

    I am working on a friend's Ibook, I am a PC IT, and know very little about Mac's so please bare with me in helping (1st grade Mac user).
    In my Mac fixing journey, I have used:
    1. Repair Disk = no repairs found to fix
    2. Repair Permissions = stalls and gives a prompt disconnected quit and restart, did that same prompt
    3. Booted in safe mode, gets to the same point "waiting for Printing Services" and then fades out and shuts itself down after a long period.
    4. I have tried to holding down opt, apple, p & r keys to reset "pram" = no go.
    5. Removed the power source and batter to reset computer.
    6. Booted computer connected into the printer and not connected to the computer. Same freeze place.
    After all this being done,and reading alot in here, I purchased disk warrior, it corrected a few errors, rebuilt and rebooted...only to come back to "waiting for Printing Services" and then freeze.
    Anyone have anything else they can help me with, that might get me passed this problem??
    Thanks in Advance for any advice!!
    Sav
    Ibook G4   Mac OS X (10.0.x)  

  • Adding Printer as a scanner in print service role (Distributed scan server), would it be possible in windows server 2008 r2 !!

    Hello All 
    I have a sharp printer that support scanniing as well and my question is : 
    I want to getting use from manage scanner service role that is belonging to the print service role in windows server 2008 , which has the feature of passing the scanned document to users shared folders which are exist in the same server.
    but when i try to add my printer as a scanner it did not accept .. so i cant proceed with my objective, which is allowing users to pass their scanned docs to their shared folder
    Any idea ?

    Can i scan to network shared folder without adding the used credentials, i am looking for this distributed scan features for this issue.
    now each time new user will come i will create for him a shared folder with his username and password then i will go to the printer web base page and add this shared folder to the address book, but i need the user to come to add his password. how i can tell
    the printer to authenticate him and directt his scan to his shared folder without asking him to enter his password to be able to create an address book for him ?? any help
    Thanks in advance !

  • LookupDefaultPrintService() not returning correct print service in Linux

    I have tried using PrintServiceLookup.lookupDefaultPrintService() on a number of Linux machines here, with varying software configurations (all running some version of CUPS). None of them are returning the correct default printer. Some were actually returning the correct default printer, but changing the default printer then restarting the test application showed it was merely coincidence.
    I have also tried setting the javax.print.defaultPrinter property appropriately, and it still returns the incorrect printer. Anyone had any luck getting the default printer under Linux?
    For the time being, I can work around this by selecting the correct default from the available print services using a user specified default printer setting.

    I apologize, I should have checked the bug database first. This appears to be a known problem with cups:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6181488

  • Allow normal user to start/stop Tomcat

    Hi,
    Recently I deployed a web app at client's pc running on WinXP SP2. However, I'm not allowed admin rights to that local machine. Is there a way to allow normal user ( like my case) to start/stop Apache Tomcat services without requesting my client to log in as admin to perform this simple task?
    Thanks.
    Z

    salafrance wrote:A simple way would be to write a small C program to run systemctl setuid root.
    So perhaps like this?
    #include <stdlib.h>
    #include <unistd.h>
    int main(void)
    execl("/usr/bin/systemctl", "systemctl", "start", "calibre", NULL);
    return(EXIT_SUCCESS);
    compiled it, then "chown root:root test", "chmod u+s test" and it worked.
    But is this safe? I have absolutely no knowledge about potential security issues...
    I also have thought about periodically restarting calibre, but on the Raspberry Pi, with it's slow ARM, the start takes ages and the processor is completely busy with that task for some minutes.
    And that's the reason why I also want to avoid starting an entire second systemd session... Or is this not that resource intensive?

  • Give helpdesk ability to restart ALL SERVICES without making them local or domain administrators

    I have a windows server 2012 environment using Active directory.  I need to give my helpdesk group the ability to stop, start or restart all services on the machines located within an OU, but I do not want to make them local admins because I don't want
    them to be able to install software, create users etc. 
    I have found articles that allow you to grant this right on a PER SERVICE basis, but I am looking for a solution that allows them to restart any service...not just named services.  
    Any help would be greatly appreciated!
    -Brian

    > I have found articles that allow you to grant this right on a PER
    > SERVICE basis, but I am looking for a solution that allows them to
    > restart any service...not just named services.
    http://waynes-world-it.blogspot.de/2009/10/service-control-manager-security-for.html
    http://serverfault.com/questions/37721/how-do-i-grant-users-the-ability-to-install-windows-services
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Print Services - Reboot Printer to Print

    On our server we have an HP 2550 plugged in via USB shared via print services. We have an odd issue that I can't seem to fix. When users print to it, it moves from their local queue to the server queue but just sits there until you turn off and back on the printer. I've tried a variety of things but issue stays the same. No error messages, just waits for printer to reboot to print between jobs.
    Anyone run into this or have advice on how I might be able to fix it?

    If you used the More Printers > Canon IP (PS) option to add the printer queue, then this will use LPR/LPD protocol. With the error you are getting, you may find that the LPD service has been disabled on the copier. Note that Windows will default to Port 9100 (RAW) for its protocol, so that explains why that would work.
    You can open the Remote UI page for the iRC3220 by typing its ip address into your web browser. With the home page open, select the Additional Functions tab. You may be prompted for the iRC3200 system administrator ID and password. Enter this if you know it or contact your IT if you don't.
    When the Additional Functions options appear, select Custom Settings. On the right hand pane, under Network Settings select LPD Settings. Ensure 'Use LPD' is enabled. If it isn't, check it then OK the change. You will have to restart the machine for the service to start working.
    The other thing to check is that the imagePASS print controller option is not fitted to the iRC3200. This is a white rectangular metal box that would be hanging on the back of the copier. If you have this, you will not see all the options I mentioned above. Instead you will see the home page for the imagePASS (probably the C1). If you have the imagePASS, then you cannot use the Canon PS driver. You will need to use the PS driver for the imagePASS-C1.
    HTH
    PaHu

Maybe you are looking for

  • My Ellipsis 8 can no longer detect my gym's wifi signal. Please help!

    I used my Ellipsis 8 to watch Netflix over the open wifi signal at my gym for 2 months with no problem. One day I showed up and no signal was found. I went through all the trouble shooting steps all the way down to factory resets with no resolution.

  • Questions

    I am not sure about  the answers for these questions...It would be helpful if anyone can answer them... 1.What are transfer rules and update rules? This question has more than one answer. a. Where I can change data and add ABAP routines b. Rules on t

  • Please show me what to do per the security upgrades re firefox and ie7

    Hi, I didn't know where else to post this. I am just a home user. I have both Firefox 3.0 and Internet Explorer 7. I have windows premium home VISTA. I recieved the notice (portion below) and the instructions at sun links contained do not give direct

  • Oracle 9i on Solaris

    I have Oracle 9.2.0.1 client on Solaris. I need to update the client to 9.2.0.7 per 3rd party program requirements. I have downloaded patch 9.2.0.7 for Solaris from metalink - p4163445_92070_SOLARIS64.zip. but it tries to install the second Oracle ho

  • Archived vs On demand Reports

    Hi, My client is comparing newly generated on-demand reports with old archived pdfs. Some contracts that were in Active state in 2007/2008 have expired/cancelled or lapsed since then. My reports are showing latest information. Even the totals are not