Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Running a perl script as non-root
@ 2000-10-02  4:00 Arthur Dalessandro
  2000-10-03  4:00 ` larry.gensch
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Arthur Dalessandro @ 2000-10-02  4:00 UTC (permalink / raw)


I have a script that does certain commands that require them to be run as
root, however, I need non-root users to call the script.  Is there an easy
way to accomplish this?








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

* Re: Running a perl script as non-root
  2000-10-02  4:00 Running a perl script as non-root Arthur Dalessandro
@ 2000-10-03  4:00 ` larry.gensch
  2000-10-04  4:00 ` Joerg Bruehe
  2000-10-06  4:00 ` Mike Ryan
  2 siblings, 0 replies; 5+ messages in thread
From: larry.gensch @ 2000-10-03  4:00 UTC (permalink / raw)
  To: Arthur Dalessandro

[Posted and mailed]

In article <sthgo07qh5q684@corp.supernews.com>,
	"Arthur Dalessandro" <adalessandro@odione.com> writes:
> I have a script that does certain commands that require them to be run as
> root, however, I need non-root users to call the script.  Is there an easy
> way to accomplish this?

The "sudo" utility comes to mind.  It allows non-root users to run
certain programs with different privileges.  Groups of users and
commands can be identified.  It is still under active maintenance.

The utility can be found at:

	http://www.courtesan.com/sudo

-- 
Larry Gensch					   Larry.Gensch@compaq.com
Compaq Computer Corporation                        As usual, the standard
110 Spit Brook Road ZKO3-2/W17                     disclaimers apply, etc.
Nashua, NH 03062                                   Yada yada yada



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

* Re: Running a perl script as non-root
  2000-10-02  4:00 Running a perl script as non-root Arthur Dalessandro
  2000-10-03  4:00 ` larry.gensch
@ 2000-10-04  4:00 ` Joerg Bruehe
  2000-10-06  4:00 ` Mike Ryan
  2 siblings, 0 replies; 5+ messages in thread
From: Joerg Bruehe @ 2000-10-04  4:00 UTC (permalink / raw)


Hi Arthur ! 

Arthur Dalessandro wrote:
> 
> I have a script that does certain commands that require them to be run as
> root, however, I need non-root users to call the script.  Is there an easy
> way to accomplish this?

I know there is something called "suidperl", but I do not know 
any details about it. 
The Perl websites should help you onwards, try 
   ftp://ftp.gmd.de/packages/CPAN/README.html
   http://language.perl.com/faq/index.html
   http://www.perl.com/CPAN-local/doc/manual/html/pod/perlrun.html
and follow any suitable links. 

HTH, 
Joerg Bruehe 

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de



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

* Re: Running a perl script as non-root
  2000-10-02  4:00 Running a perl script as non-root Arthur Dalessandro
  2000-10-03  4:00 ` larry.gensch
  2000-10-04  4:00 ` Joerg Bruehe
@ 2000-10-06  4:00 ` Mike Ryan
  2000-10-10  4:00   ` Joerg Bruehe
  2 siblings, 1 reply; 5+ messages in thread
From: Mike Ryan @ 2000-10-06  4:00 UTC (permalink / raw)


Why not just set the system bit ????

Cheers
"Arthur Dalessandro" <adalessandro@odione.com> wrote in message
news:sthgo07qh5q684@corp.supernews.com...
> I have a script that does certain commands that require them to be run as
> root, however, I need non-root users to call the script.  Is there an easy
> way to accomplish this?
>
>
>
>
>





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

* Re: Running a perl script as non-root
  2000-10-06  4:00 ` Mike Ryan
@ 2000-10-10  4:00   ` Joerg Bruehe
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Bruehe @ 2000-10-10  4:00 UTC (permalink / raw)


Hi Mike !

Mike Ryan wrote (referring to the quote following ...):
> 
> Why not just set the system bit ????
> 
> Cheers
> "Arthur Dalessandro" <adalessandro@odione.com> wrote in message
> news:sthgo07qh5q684@corp.supernews.com...
> > I have a script that does certain commands that require them to be run as
> > root, however, I need non-root users to call the script.  Is there an easy
> > way to accomplish this?

1) I have heard of a "system bit" only in Win environments, 
   not on any Unix. 

2) If you mean the "set-userID" bit for owner "root": 
   AFAIK, on all Unix-like platforms this is not effective for 
   interpreted files (shell scripts, Perl etc.) due to security reasons. 
   Off hand, I can not provide a URL explaining the reasons, but there 
   should be plenty in the Web. 

HTH, 
Joerg Bruehe 

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de



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

end of thread, other threads:[~2000-10-10  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-02  4:00 Running a perl script as non-root Arthur Dalessandro
2000-10-03  4:00 ` larry.gensch
2000-10-04  4:00 ` Joerg Bruehe
2000-10-06  4:00 ` Mike Ryan
2000-10-10  4:00   ` Joerg Bruehe

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