On Sat, Jul 21, 2001 at 12:09:43PM +0530, KK wrote:
> Can I create dynamic system users using the command "useradd" from
> inside a perl script/java servlet which need not run as "root"? I
> suppose that only "root" has the privilege to create system users.
> Is there a way around this?

I presume that your are well aware of the fact that this has nothing
to do whatsoever with qmail. If you are too incompetent to use a
search engine, why are you running a mail server? 

RTFM: man 5 sudoers:
Cmnd_Alias      USERADD=/sbin/useradd
www             ALL=NOPASSWD: USERADD

> Any suggestions/help is appreciated.

http://learn.to/edit_messages/ - before your EVER submit mail to a
technical mailing list again.
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).
`In Germany, they are not referred to as network administrators. They
prefer to be called "Sons Of The Third Reich".' (Kate: www.katewerk.com)

Reply via email to