From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Bryn Llewellyn <bryn(at)yugabyte(dot)com> |
Cc: | "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: CASE CLOSED... Re: "peer" authentication: cannot make "pg_ident.conf" work as I believe that the doc says that it should |
Date: | 2022-11-01 03:36:56 |
Message-ID: | CAKFQuwZRM42wh=J3dvcXf469k-WrL_A79qh34RD46x5ck7-GBQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Oct 31, 2022 at 8:19 PM Bryn Llewellyn <bryn(at)yugabyte(dot)com> wrote:
>
> This is what I see. I have Ubuntu 20.04 LTS VM using Parallels Desktop
> Version 18.
>
> # adduser 'dog$house'
> adduser: To avoid problems, the username should consist only of
> letters, digits, underscores, periods, at signs and dashes, and not start
> with
> a dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
> machine accounts $ is also supported at the end of the username
>
> I tried your longer version verbatim:
>
> useradd -m -s /bin/bash 'mac$crooge'
>
> and that quietly succeeded. I'd left out "-m" and "-s" because, for an
> ordinary username, I get the home directory that I want and the (bash)
> shell that I want without explicitly asking for these.
>
> It's bizarre that, merely by being explicit about these two fact, I'm now
> allowed to have a name with a dollar-sign—notwithstanding what the text of
> the earlier error message claimed. I wondered if that it wasn't an error
> message at all—and was just a warning. But "cat /etc/passwd" showed me that
> "dog$house" had not been created while "mac$crooge" HAD been.
>
>
Also note the "useradd" != "adduser" - you are running two different
commands. One of them is stock Linux while the other is provided by Ubuntu
(probably Debian, actually, too lazy to research specifics).
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-11-01 04:05:14 | Re: Autovacuum on Partitioned Tables |
Previous Message | Ron | 2022-11-01 03:27:56 | Re: Autovacuum on Partitioned Tables |