[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing a users ~ - taking effect



On Wed, Nov 27, 2002 at 10:58:27AM +0100, Robert Waldner wrote:
> Hi!
> 
> 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)
> 
> cheers,
> &rw
> -- 
> -- 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
> 

Robert

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.

Paul



Visit your host, monkey.org