Re: swich user

2002-04-16 Thread Michael Lamertz
On Tue, Apr 16, 2002 at 11:30:08AM +0200, walter valenti wrote: > Hi, > i've got a demon i perl that start from root. > > I would like that after the starting (when starts, does some operation > like root), it swiches like other user with low privileges (es. like > Apache, starts from root and

swich user

2002-04-16 Thread walter valenti
Hi, i've got a demon i perl that start from root. I would like that after the starting (when starts, does some operation like root), it swiches like other user with low privileges (es. like Apache, starts from root and swiches at www-data). I'm trying the POSIX module, using the function: POSI