[arch-general] How to safe configs to another path than ~
blackredtree at gmail.com
Thu Jul 25 17:52:00 EDT 2013
On Thu, Jul 25, 2013 at 3:33 AM, Ralf Mardorf
<ralf.mardorf at alice-dsl.net> wrote:
> -------- Cancelled posting --------
> On Thu, 2013-07-25 at 18:46 +1000, Gaetan Bisson wrote:
> > Applications have different means of finding out what the HOME directory
> > of a given user is. The HOME environment variable is just one of them.
> > Other popular ones include the function calls getpwuid() and getpwuid();
> > they basically read the data from /etc/passwd so your only way to work
> > around that and pretend having a different home directory would be to
> > override those calls with LD_PRELOAD...
> Thank you Gaetan,
> but this fails too:
> $ LD_PRELOAD=/home/rocketmouse/alt_profiles/1/ /usr/bin/xfce4-terminal
> ERROR: ld.so: object '/home/rocketmouse/alt_profiles/1/' from LD_PRELOAD
> cannot be preloaded: ignored.
> -------- End of cancelled posting --------
> Assumed I would be able to do it, then I need to write new calls that
> will replace those calls?
How about sudoing to different users?
More information about the arch-general