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
PS. I didn't answer your questioning precisely enough: It's not me that sets the variable $HOME, it's the entry in '/etc/passwd'. Wilko -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130711214005.gb3...@fok01.laje.edewe.de