logoalt Hacker News

tobyhinloopenyesterday at 12:46 PM3 repliesview on HN

How about running Claude as a different user with very limited permissions?


Replies

gregoriolyesterday at 12:48 PM

This breaks the non-interactive mode the post want to achieve. Claude will not be able to install some things and will require user action, which is not desired here.

show 1 reply
emilburzoyesterday at 12:57 PM

I tried this approach for a while, but I really wanted it to be able to do anything (install system packages, build/run Docker containers, the works).

With these powers there's a lot less back-and-forth with me running commands, copying the output, pasting it to Claude, etc.

I'm sure you've had the case where you had to instruct someone to do something (e.g. playing tech support with family, helping another engineer, etc). While it helps the other person learn, it feels soooo slow vs just doing it yourself :) And since I don't have to teach the agent, I think this approach makes sense.

delaminatoryesterday at 12:51 PM

I run it with sudo enabled - true story

just give it its own machine and let it check out any code

I PXE boot it from a known image when I feel the need

show 2 replies