guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: xterm: Accept $SHELL even if not in /etc/shells


From: Mark H Weaver
Subject: Re: [PATCH] gnu: xterm: Accept $SHELL even if not in /etc/shells
Date: Thu, 13 Feb 2014 11:29:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> skribis:
>
>> IMO, it's not reasonable to have to add
>> /home/<USER>/<PROFILE>/bin/<SHELL> for every combination of <USER>,
>> <PROFILE>, and <SHELL> to /etc/shells, in order to prevent 'xterm' from
>> overriding your $SHELL setting.
>
> On NixOS, /etc/shells contains this:
>
> /run/current-system/sw/bin/bash
> /var/run/current-system/sw/bin/bash
> /bin/sh
>
> Where {/var/,}/run/current-system contains the “global” profile, like on
> our QEMU images.
>
> Perhaps that’s good enough no?

If a user wants to set $SHELL to be the one in their private profile,
I think 'xterm' shouldn't ignore it and modify $SHELL just because it
hasn't been authorized by the administrator of the system.  This seems
to me to be against the spirit of "liberating".

Well, it seems that I'll have to live on a local branch of Guix, with my
own modifications.  I suppose this is not necessarily a bad thing.  The
ease with which this can be done is part of what makes Guix liberating,
after all.

     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]