Re: [External] : Re: configure shell game

Jan Pechanec via openssh-unix-dev <[email protected]> Tue, 2 Jun 2026 17:16:55 +0200
Newsgroups gmane.network.openssh.devel
Message-ID <ah7z5wXTNXj8RQwu@len49>
On Tue, Jun 02, 2026 at 11:47:56PM +1000, Darren Tucker via openssh-unix-dev wrote:
> On Tue, 2 Jun 2026 at 23:35, Predrag Zečević
> <[email protected]> wrote:
> > Well, linux is OS which changed /bin/sh to be /bin/bash
> 
> That isn't even true for all Linux variants.  On at least Debian and
> derivatives including Ubuntu, it's usually dash not bash:
> 
> $ uname -a
> Linux ajax 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May
> 5 19:26:24 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
> $ ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Mar 31  2024 /bin/sh -> dash

And it happened a very long time ago.  Ubuntu started using dash as
/bin/sh in 2006 and Debian followed in 2011.

-- 
Jan Pechanec <[email protected]>
_______________________________________________
openssh-unix-dev mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev