[ILUG] Login
Paul Jakma
paulj at alphyra.ie
Wed Jul 11 12:07:40 IST 2001
On Wed, 11 Jul 2001, Stephen McCullough wrote:
> Edit the /etc/passwd file.
>
> foo:x:1000:1000:Joe Bloggs,,,;/home/foo:/bin/whatever
> ---------
>
> Also usermod -d does this.
if you were an admin here you'd be shot.. :)
always always use the tools like chsh, chfn, usermod to make changes
like that.
and in the unusual cases where you absolutely must edit passwd
directly, use vipw.
--paulj
More information about the ILUG
mailing list