You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by sanjay kumar <sa...@hotmail.com> on 2000/12/30 11:47:51 UTC
os-linux/7020: Unable to execute the command [ useradd ] of linux from servlet hosted on this server
>Number: 7020
>Category: os-linux
>Synopsis: Unable to execute the command [ useradd ] of linux from servlet hosted on this server
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: apache
>Arrival-Date: Sat Dec 30 02:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: sankum50@hotmail.com
>Release: apache_1.3.12
>Organization:
apache
>Environment:
Red Hat Linux 6.2
>Description:
I have executed the command of linux to create new user i.e
Runtime.getRuntime().exec("/usr/sbin/useradd "+user); I have tested it on servletrunner,it is working fine.But when i tested this servlet on apache server with Apache Jserver ,it is not able to execute the command . I am not getting any message in any log file.That's why i am not able to trace it what is going wrong.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]