I notice you don't recommend pw(8). I have some scripts that use pw(8) to add users with things like a /nonexistent shell - they do other stuff to do with quotas, smbpasswd and so on and allow it all to be managed in a single operation from a web interface. Am I storing up problems for myself like this? It has been fine so far.Vince Sabio <[EMAIL PROTECTED]> writes:
[...] > I'm now trying to install Postfix, and the problem I'm running into is
> pw: user '[newuser]' disappeared during updatethat I cannot create new user accounts. I created several user accounts during installation, and they seem to be fine. But when I [manually] create entries in /etc/passwd, master.passwd, and group, the entries are 'ignored' -- e.g., a "chown [newuser] [filename]" command fails, attempts to su from root into the user account fail, etc. When I try to create the user via adduser (using the standard defaults), the account creation step fails with the following error:
It sounds like you've messed up your user database. Try running pwd_mkdb(8) by hand to get it straightened out. In future, remember not to edit passwd and so forth by hand; stick with adduser(8) and/or vipw(8) to avoid shooting yourself in the foot like this.
PWR.
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"