Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* lpc permissions
@ 1998-08-25  4:00 Matt Payton
  1998-08-25  4:00 ` Stefan Schwarzer
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Payton @ 1998-08-25  4:00 UTC (permalink / raw)


We have a dec running DU 4.0b that has 35+ remote printers configured. 
When a printer hangs occaisionally, we obviously have to restart it via
lpc.  This isn't a problem, except that I'd like to minimize use of the
root login.  When trying to stop a printer from a username other than root
we get the "?privileged command" message.  Is there an easy way to allow at
least 1 other specified login full privileges to lpc ?  Thanks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lpc permissions
  1998-08-25  4:00 lpc permissions Matt Payton
@ 1998-08-25  4:00 ` Stefan Schwarzer
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Schwarzer @ 1998-08-25  4:00 UTC (permalink / raw)


Matt Payton <mattpayton@hotmail.com> wrote:
> We have a dec running DU 4.0b that has 35+ remote printers configured. 
> When a printer hangs occaisionally, we obviously have to restart it via
> lpc.  This isn't a problem, except that I'd like to minimize use of the
> root login.  When trying to stop a printer from a username other than root
> we get the "?privileged command" message.  Is there an easy way to allow at
> least 1 other specified login full privileges to lpc ?  Thanks.

I guess the 'standard' answer to that question is 'sudo'
Get it from the net and compile. It keeps a configuration file in /etc 
in which you specify the authorized user, the full path of the 
command to run and the host on which to grant 
access to the command. It runs suid root and asks the authorized user for 
*his* password before letting him execute the command with root privileges.  

-- 
Stefan Schwarzer                office:  +49-(0)711-685-7606   fax: x-3658 
Uni Stuttgart, ICA 1            e-mail:          sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27              pgp public key available on request/finger 
70569 Stuttgart, Germany             http://www.ica1.uni-stuttgart.de/~sts



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-25  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-25  4:00 lpc permissions Matt Payton
1998-08-25  4:00 ` Stefan Schwarzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox