I would also recommend removing the double-quotes around $username, as this causes double-quotish processing to happen, which you may not want.
In reply to Re: UID 0 and getpwnam
by thelenm
in thread UID 0 and getpwnam
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |