Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had no idea this was possible - googling "process under different uid" doesn't yield anything obvious. Any hints on how to do this on a standard command linux prompt?


This is one way:

    # sudo -u "#10000" -g "#10000" id
    uid=10000 gid=10000 groups=10000




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: