# Files changed · PR \#23386 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23386/diffs)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

[fix\(server\): Antigravity starts for Linux users without a passwd entry](https://git.cafe/pingdotgg/t3code/pull/23386.md)

Version: 3

Head commit: 5f585059ab210188feb0010c864b11b030f25caf

Base commit: 3b95e7831b11b17627dff16843bc087bfca397ec

Comparison base: 3b95e7831b11b17627dff16843bc087bfca397ec

Showing up to 20 entries from this revision. If the pull request changes, reopen the first page before continuing.

## apps/server/src/provider/Drivers/AntigravityDriver.test.ts

Status: modified; +3; −1

```diff
@@ -303,7 +303,9 @@
           h.second.harnessPath,
         ]);
         for (const launch of nativeLaunches) {
-          expect(launch.args).toEqual(hostPlatform === "linux" ? ["--uid="] : []);
+          expect(launch.args).toEqual(
+            hostPlatform === "linux" ? ["--uid=", "--loas_pwd_fallback_in_corp"] : [],
+          );
           expect(launch.profileDirectory).toBe(h.profileDirectory);
           expect(launch.forceFileStorage).toBe("1");
           expect(launch.extendEnv).toBe(false);
```

## apps/server/src/provider/antigravityAuthSupport.test.ts

Status: modified; +1; −1

```diff
@@ -84,7 +84,7 @@
     expect(baseEnv).toEqual(original);
     expect(spawn).toEqual({
       command: "/release/acp",
-      args: ["--uid="],
+      args: ["--uid=", "--loas_pwd_fallback_in_corp"],
       cwd: "/project",
       extendEnv: false,
       env: {
```

## apps/server/src/provider/antigravityAuthSupport.ts

Status: modified; +3; −1

```diff
@@ -445,7 +445,9 @@
 }): AcpSessionRuntime.AcpSpawnInput {
   return {
     command: input.installation.executablePath,
-    args: input.profile.platform === "linux" ? ["--uid="] : [],
+    // OS Login users have no /etc/passwd entry, and the runtime's bundled libraries cannot
+    // load libnss_oslogin, so without the fallback flag getpwuid fails and the runtime exits 255.
+    args: input.profile.platform === "linux" ? ["--uid=", "--loas_pwd_fallback_in_corp"] : [],
     cwd: input.cwd,
     env: {
       ...antigravityEnvironment(
```
