Re: dash as system /bin/sh? (Was: dash as default shell?)

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



On 6/17/20 3:05 PM, NTS wrote:
> On 17 Jun 2020 8:36 p.m., "David Rosenstrauch" <darose@xxxxxxxxxx> 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
whatsoever.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature


[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