Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
実行中のプロセスの実際の有効で保存された UID と GID を確認する簡単な方法はありますか?
、(リアル) 、(有効)のpsいずれかで使用しますか?UGgu
ps
U
G
g
u
ps の man ページをざっと読んだ。以下は私のために働いた:
ps axo pid,ruid,euid,fuid,rgid,egid,fgid,ucmd | more
/proc ファイルシステムには次の情報が含まれています。
/proc/PID/ステータス