Automatic addition of groups?

Bill Davidsen davidsen at
Thu Mar 11 22:02:23 UTC 2004

Dayton Jones wrote:
> I'm trying to create a cgi that will allow users the ability to create =
> their own groups.  This is an internal only server for company use.
> Basically, I created a form that allows input of a name, then the cgi =
> runs `/usr/local/news/bin/ctlinnd newgroup <group>`;

As what user?
> The group doesn't get created, instead I get an error in =
> /var/log/http/error_log (RH9, perl 5.8.0, apache 2.0.40-21) that says:
> "standard in must be a tty"

Sounds as if ctlinnd checks to see if the stdin is a tty, but that 
doesn't sound right, I know I've kicked off big changes in batch files...
> If I have the cgi write the command to a file, then run the file by =
> hand, it works fine - I just can't get the cgi itself to create the =
> group. =20
> What am I missing?

Sounds as if something in Apache is checking stdin for you. You should 
ask a config guru.


More information about the inn-workers mailing list