[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing a users ~ - taking effect
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: changing a users ~ - taking effect
- From: Paul Branston <apbran_(_at_)_rannoch_(_dot_)_demon_(_dot_)_co_(_dot_)_uk>
- Date: Wed, 27 Nov 2002 10:58:44 +0000
On Wed, Nov 27, 2002 at 10:58:27AM +0100, Robert Waldner wrote:
> I just changed my "news"-users home-dir from /home/news to
> /usr/local/news by editing /etc/passwd. The box wouldn't really recognize
> this, though.
> What do I have to do in order to get a such a change in /etc/passwd
> recognized, short of rebooting? I restarted the shell from where I
> (want to) su - news already, but still no luck.
> Hints/FMs to R/comments, every little help would be appreciated.
> (Note: please don't CC me on replies, I read every list I post to)
> -- Actually, we have scientifically determined that Heisenberg did indeed
> -- sleep exactly here. However, we have no idea whatsoever just how fast
> -- asleep he was. -- Dave Aronson
If you'd used vipw insteadof just vi passwd it would have done the
updating for you. Have a read at the vipw nam page.
Visit your host, monkey.org