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

Re: How to get Dot files out of the way via shell scripts



Am Donnerstag, 11. Juli 2013, 09:55:20 schrieb Andrei POPESCU:
> >       append  command:        "cd"                            to  .profile
> >
> > 
> > 
> >
> > 3.  Modify /etc/passwd: login_dir ==> /home/<user>/.rc
> >       ==================================================
> >       
> >       example:
> >       wwf:x:1001:1001:Wilko Fokken,,,:/home/wwf/.rc:/bin/bash
> 
> So basically you're setting $HOME to be /home/$user/.rc

I would be careful of the side effects this can have.

If applications just work be relative paths, all is well, but some may append 
$HOME to get an absolute path and then…

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: