David Alban wrote: > Belden, > > Your doing the: > > $uid = getpwnam($name); > > invocation. root's uid is zero, which is false. > > You probably should test for defined() rather than truth. > > Did I win? :-) > > ding-ding-ding, on the nose.