简体   繁体   中英

linux id and setuid/setgid

有没有一种简单的方法可以查看正在运行的进程的真实,有效和已保存的UID和GID?

psUG (实) gu (有效)一起使用?

Did a quick read of the man page for ps. The following worked for me:

ps axo pid,ruid,euid,fuid,rgid,egid,fgid,ucmd | more

The /proc filesystem contains this information:

/proc/PID/status

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM