Re: Cannot reattach - asking for password
Lavd Asir <[email protected]> Thu, 29 Dec 2022 02:43:59 +0000
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_A6EF9746-958D-4AE4-AA29-7C5A3FE96827 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 1. All entries from `lsof -Ua | grep screen` are owned by my usual user 2. This issue is occurring on a mac Mojave system; SELinux is not = available, or the utility `setenforce`.=20 Any other suggestions? A previous thread in the mailing list = (https://lists.gnu.org/archive/html/screen-users/2016-10/msg00008.html = <https://lists.gnu.org/archive/html/screen-users/2016-10/msg00008.html>) = suggested simply editing the source to eliminate the authentication = function; unfortunately, the code has changed significantly since then = and I wasn=E2=80=99t able to locate the relevant function anymore.=20 Additionally, this bug report appears to be relevant too: = https://savannah.gnu.org/bugs/?59878 = <https://savannah.gnu.org/bugs/?59878> Thanks > On 28 Dec 2022, at 20:55, Robin Lee Powell <[email protected]> = wrote: >=20 > You've basically got two options here that I can think of: >=20 > 1. Your screen socket, or the directory it's in, is owned by a > different user; go looking at ownership. "root" or "nobody" > seem likely options. >=20 > 2. SELinux is getting involved. While you should *not* run like > this long term, you can test this by running "sudo setenforce 0" > and trying again. >=20 > On Tue, Dec 27, 2022 at 05:01:35AM +0000, Lavd Asir wrote: >> Hello,=20 >>=20 >> I=E2=80=99ve recently started using the master version and whenever I = try to re-attach a screen session, I am prompted with the following: >>=20 >> `screen used by XXX <YYY> on ZZZ` >>=20 >> Then it asks for a password. The password for my username (and the = only user on this machine) doesn=E2=80=99t work, it prints `Password = incorrect` and exits.=20 >>=20 >> I used to use an older version of screen before, and I could reattach = without a password prompt.=20 >>=20 >> Note that in this scenario screen is not Locked (via `C-a x`), just = simply detached (`C-a d`). >>=20 >> I am unable to reattach any screen session, what can I do? >>=20 >> Operating system is Mojave.=20 >>=20 >> Thank you --Apple-Mail=_A6EF9746-958D-4AE4-AA29-7C5A3FE96827 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">1. = All entries from `lsof -Ua | grep screen` are owned by my usual user<div = class=3D"">2. This issue is occurring on a mac Mojave system; SELinux is = not available, or the utility `setenforce`. </div><div class=3D""><br= class=3D""></div><div class=3D"">Any other suggestions? A previous = thread in the mailing list (<a = href=3D"https://lists.gnu.org/archive/html/screen-users/2016-10/msg00008.h= tml" = class=3D"">https://lists.gnu.org/archive/html/screen-users/2016-10/msg0000= 8.html</a>) suggested simply editing the source to eliminate the = authentication function; unfortunately, the code has changed = significantly since then and I wasn=E2=80=99t able to locate the = relevant function anymore. </div><div class=3D""><br = class=3D""></div><div class=3D"">Additionally, this bug report appears = to be relevant too: <a href=3D"https://savannah.gnu.org/bugs/?59878" = class=3D"">https://savannah.gnu.org/bugs/?59878</a></div><div = class=3D""><br class=3D""></div><div class=3D"">Thanks<br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 28 Dec 2022, at 20:55, Robin Lee Powell <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">You've= basically got two options here that I can think of:<br class=3D""><br = class=3D"">1. Your screen socket, or the directory it's in, is = owned by a<br class=3D""> different user; go looking = at ownership. "root" or "nobody"<br class=3D""> = seem likely options.<br class=3D""><br class=3D"">2. = SELinux is getting involved. While you should *not* run = like<br class=3D""> this long term, you can test this = by running "sudo setenforce 0"<br class=3D""> and = trying again.<br class=3D""><br class=3D"">On Tue, Dec 27, 2022 at = 05:01:35AM +0000, Lavd Asir wrote:<br class=3D""><blockquote type=3D"cite"= class=3D"">Hello, <br class=3D""><br class=3D"">I=E2=80=99ve recently = started using the master version and whenever I try to re-attach a = screen session, I am prompted with the following:<br class=3D""><br = class=3D"">`screen used by XXX <YYY> on ZZZ`<br class=3D""><br = class=3D"">Then it asks for a password. The password for my username = (and the only user on this machine) doesn=E2=80=99t work, it prints = `Password incorrect` and exits. <br class=3D""><br class=3D"">I used to = use an older version of screen before, and I could reattach without a = password prompt. <br class=3D""><br class=3D"">Note that in this = scenario screen is not Locked (via `C-a x`), just simply detached (`C-a = d`).<br class=3D""><br class=3D"">I am unable to reattach any screen = session, what can I do?<br class=3D""><br class=3D"">Operating system is = Mojave. <br class=3D""><br class=3D"">Thank you<br = class=3D""></blockquote></div></div></blockquote></div><br = class=3D""></div></body></html>= --Apple-Mail=_A6EF9746-958D-4AE4-AA29-7C5A3FE96827--