Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
No user exists for uid 501 after XQuartz update?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="peeterjoot" data-source="post: 1739328" data-attributes="member: 385490"><p>I just installed an update (2.7.11) for XQuartz, logged out and logged in, and am now getting weird UID related errors attempting to ssh out of my mac:</p><p></p><p>$ ssh macbook</p><p></p><p>No user exists for uid 501</p><p></p><p>The error appears to be a local error on the mac itself, not a network issue.</p><p></p><p>This id is in fact my uid:</p><p></p><p>$ id</p><p></p><p>uid=501 gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701,33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),101</p><p></p><p> </p><p></p><p>$ echo $UID</p><p></p><p>501</p><p></p><p>but id doesn't recognize it explicitly:</p><p></p><p>$ id -u 501</p><p></p><p>id: 501: no such user</p><p></p><p>$ echo $USER</p><p></p><p>pjoot</p><p></p><p>$ id pjoot</p><p></p><p>id: pjoot: no such user</p><p></p><p>$ cd</p><p></p><p>$ ls -ld .</p><p></p><p>drwxr-xr-x+ 81 501 staff 2754 30 Nov 18:52 .</p><p></p><p>I also don't appear to be able to run sudo anymore:</p><p></p><p>$ sudo vim /etc/passwd</p><p></p><p>sudo: unknown uid 501: who are you?</p><p></p><p>(I thought I'd try to hack in an /etc/passwd entry for id=501 for myself).</p><p></p><p>The highest entry I have in /etc/passwd now 252:</p><p></p><p>...</p><p></p><p>_ondemand<img src="/mac_images/images/smilies/Kiss.png" class="smilie" loading="lazy" alt=":*" title="Kiss :*" data-shortname=":*" />:249:249:On Demand Resource Daemon:/var/db/ondemand:/usr/bin/false</p><p></p><p>_xserverdocs<img src="/mac_images/images/smilies/Kiss.png" class="smilie" loading="lazy" alt=":*" title="Kiss :*" data-shortname=":*" />:251:251:OS X Server Documents Service:/var/empty:/usr/bin/false</p><p></p><p>_wwwproxy<img src="/mac_images/images/smilies/Kiss.png" class="smilie" loading="lazy" alt=":*" title="Kiss :*" data-shortname=":*" />:252:252:WWW Proxy:/var/empty:/usr/bin/false</p><p></p><p>My suspicion is that the XQuartz update has messed things up. How can this be repaired?</p><p></p><p>Peeter</p></blockquote><p></p>
[QUOTE="peeterjoot, post: 1739328, member: 385490"] I just installed an update (2.7.11) for XQuartz, logged out and logged in, and am now getting weird UID related errors attempting to ssh out of my mac: $ ssh macbook No user exists for uid 501 The error appears to be a local error on the mac itself, not a network issue. This id is in fact my uid: $ id uid=501 gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701,33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),101 $ echo $UID 501 but id doesn't recognize it explicitly: $ id -u 501 id: 501: no such user $ echo $USER pjoot $ id pjoot id: pjoot: no such user $ cd $ ls -ld . drwxr-xr-x+ 81 501 staff 2754 30 Nov 18:52 . I also don't appear to be able to run sudo anymore: $ sudo vim /etc/passwd sudo: unknown uid 501: who are you? (I thought I'd try to hack in an /etc/passwd entry for id=501 for myself). The highest entry I have in /etc/passwd now 252: ... _ondemand:*:249:249:On Demand Resource Daemon:/var/db/ondemand:/usr/bin/false _xserverdocs:*:251:251:OS X Server Documents Service:/var/empty:/usr/bin/false _wwwproxy:*:252:252:WWW Proxy:/var/empty:/usr/bin/false My suspicion is that the XQuartz update has messed things up. How can this be repaired? Peeter [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
No user exists for uid 501 after XQuartz update?
Top