[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] non login shells
On 1 October 2010 17:36, Simon Brown <lists@xxxxxxxx> wrote:
> At Fri, 1 Oct 2010 13:56:54 +0100,
> Robin Wood wrote:
>> > The box uses the ash shell, not bash and I'm struggling to add the new
>> > path
>> I've not got access to an ash shell to test this but have you done a
>> set and an export? Old shells needed you to set the value then do the
>> export as well.
>>
>> Also, if you are using ~ in the path watchout as I've seen that not
>> get set on some shells in the way you would expect.
>
> Yes $HOME is set to /root no matter who logs in which is confusing.
>
> I tried export PATH='/opt/bin:$PATH' but with no luck.
Do you really want those quotes? As variables aren't usually expanded
in single quotes you might have just added the literal $PATH to your
path.
Robin
>
> Some poking around on google suggested setting ENV = '~/.ashrc' but I
> couldn't workout where to put that.
>
> After a bit more mucking around I tried a magic reboot and it hasn't
> come back up properly, in that it's up but will no longer let me
> in. I'm pretty sure I know why though.
>
> The box is a 15 min drive away so I'll have another go when it's
> stopped raining.
>
> Simon
>
> _______________________________________________
> Sheffield Linux User's Group
> http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
> FAQ at: http://www.sheflug.org.uk/mailfaq.html
>
> GNU - The Choice of a Complete Generation
>
_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html
GNU - The Choice of a Complete Generation