Re: chsh, linux32 and $PATH

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



On 25/01/10 13:53, Allan McRae wrote:
On 25/01/10 12:23, Tavian Barnes wrote:
2010/1/24 Dan McGee<dpmcgee@xxxxxxxxx>:

You probably want a login shell, e.g. /bin/bash -l


Thanks. That fixed the PATH issue I was having but it turns out that was
not my real issue... see below


I'd go with (untested):

#!/bin/sh
exec linux32 /bin/bash "$@"

This fixes my real issue but then the issue with my path remains.

<snip>

Both fix something so why did I not try the combination...

This works:

#!/bin/bash
exec linux32 /bin/bash -l "$@

Allan




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux