I am not using *nix adduser or useradd but using vpopmail's vadduser. As the
gid can control vpopmail user's imap access, webmail access, etc. I want to
created user with no imap or webmail access by default.
You can't do it with vadduser, but you can use vmoduser after creating the account to set the flags. It's not very efficient, but should fit your needs.
-- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester