Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 20:34:15 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Xu Qiang <Qiang.Xu@fujixerox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: groupadd/useradd in FreeBSD?
Message-ID:  <20050729013415.GA33847@dan.emsphone.com>
In-Reply-To: <20050729005037.0771E1D938@imss.sgp.fujixerox.com>
References:  <20050729005037.0771E1D938@imss.sgp.fujixerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729013415.GA33847>