[arch-general] dash as system /bin/sh? (Was: dash as default shell?)

Eli Schwartz eschwartz at archlinux.org
Wed Jun 17 19:33:24 UTC 2020

On 6/17/20 3:05 PM, NTS wrote:
> On 17 Jun 2020 8:36 p.m., "David Rosenstrauch" <darose at darose.net> wrote:
> On 6/17/20 2:18 PM, Piscium via arch-general wrote:
>> Today I set dash as my default shell [1] on two PCs. We will see if I
>> get into trouble.
>> This question was asked years ago but maybe good to ask again. Could
>> dash be made the default shell in Arch?
> Couldn't you just set it as the default for your user using chsh?
> Yes, that would probably more safe. Also, you could have a user "doot" or
> whatever name with user ID 0 and shell /bin/dash to log in as a sys admin
> with dash.
> Alternatively when you "su" interactively you could instead do "sudo dash".
> Used to do the same (new user with ID 0 I mean) under Solaris and it worked
> flawlessly.

It would be extremely safe because it wouldn't do anything, not even
what the original poster wanted. It's completely unrelated to anything

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20200617/3776ad82/attachment.sig>

More information about the arch-general mailing list