Re: How to get Dot files out of the way via shell scripts
On Thu, Jul 11, 2013 at 08:05:51PM +0200, Martin Steigerwald wrote:
> 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
Moin,
the modification of the /etc/passwd entry above should not cause any
problem, as I can't see a reason, why the passwd field containing the
login address should be predefined.
Similarly, why should the location of the $HOME address be predefined?
If so, would a $HOME variable be needed at all?
Besides, I am using my configuration described since about 10 years,
without any side effects observed. My window manager, icewm, wasn't
disturbed either.
The only possible caution, I could think of: I didn't deal with multimedia,
due to my limited hardware in the past and due to my limited interest so
far at present.
Regards
Wilko
Reply to: