Re: adduser on a Linux Redhat 7
| From: | Teodor Cimpoesu | Date: | Fri, 29 Dec 2000 15:18:31 +0000 |
| Subject: | Re: adduser on a Linux Redhat 7 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32199@lists.php.net to get a copy of this message | ||
Hi Alex!
On Thu, 28 Dec 2000, Alex Black wrote:
> >> how can i make a script to adduser to a linux redhat 7?
> >
> > That would be extremely dangerous unless you *really* know what you are
> > doing.
>
> heh, I can't think of anything less secure, actually.
>
I used for a freemail setup a program written in C and suid to root, stored
outside of the web root. It was in a dir owned by apache user, and the file
itself own by root (f course).
Otherwise, in non-educational apps I guess virtual users are the solution.
-- teodor