🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #21459

Re: superuser Kommandi als nobody ausfuehren?!

#21459
From: Marc SCHAEFER
Date: Tue, 20 Jul 1999 00:00
17 lines
1463 bytes
Philippe Kehl <flip@guv.ethz.ch> wrote:
> Someone wrote about a 'wrapper'. Okay, i know what it is and what it does
> (like the in.telnetd, in.ftpd etc stuff). But how do i write one? I'm not
> good at c nor at perl and my shell scripts look terrible.

You may want to look into webmin (see http://www.freshmeat.net for this
and other nice tools). This is a complete UNIX administration through WWW,
including quotas.

> So: Where can i find an example. Where do i 'log in'? Should the wrapper
> do a (2nd) password check? Or does the wrapper just check where i'm from
> or what i did or want to do?

The wrapper is protected by standard Apache protections (ie .htaccess,
with passwords), and just ensures that the appropriate command has
just the needed priviledge for the operation, and nothing else.
This includes checking user-supplied arguments.
Technical Details
Message-ID: <7n2m5c$b34$1@vulcan.alphanet.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Pine.LNX.4.04.9907141232430.15392-100000@akiv.ethz.ch> <378D9558.2957B207@datanetworks.ch> <7mkqi3$8jo$1@vulcan.alphanet.ch> <Pine.LNX.4.04.9907201514001.2957-100000@akiv.ethz.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4b73,1f253977e4fff673
X-Google-Attributes: gidf4b73,public
From: Marc SCHAEFER <schaefer@alphanet.ch>
Subject: Re: superuser Kommandi als nobody ausfuehren?!
Date: 1999/07/20
Message-ID: <7n2m5c$b34$1@vulcan.alphanet.ch>
X-Deja-AN: 503260330
References: <Pine.LNX.4.04.9907141232430.15392-100000@akiv.ethz.ch> <378D9558.2957B207@datanetworks.ch> <7mkqi3$8jo$1@vulcan.alphanet.ch> <Pine.LNX.4.04.9907201514001.2957-100000@akiv.ethz.ch>
Organization: ALPHANET NF -- Not for profit telecom research
Newsgroups: ch.comp.os.linux