groupadd/useradd in FreeBSD?

Dan Nelson dnelson at allantgroup.com
Fri Jul 29 01:34:18 GMT 2005


In the last episode (Jul 29), Xu Qiang said:
> Dan Nelson wrote:
> > No-one usually logs in as the mysql user, so you don't need to set
> > one. Mysqld will automatically setuid() itself to the "mysql" user
> > when it starts up.
> 
> Suppose it is a general scenario, not restricted to MySQL setup. How
> to set up a user's password after creating his/her uid/username?

You can use the passwd command as root, or if you want to set it from a
script, you can use the -h option to "pw usermod".

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list