WANG WenRui wrote:
Around 10 o'clock on 27 Mar, Li Daobing wrote:是只能重新登录么?应该是的。每个进程都有 supplementary group ids,登录进程会根据 /etc/group 来设置自己的 group ids,子进程从父进程继承这个属性。 似乎没有方法设置其他进程的 group ids。
找到一个trick: exec su username -- Best regards, Li Daobing
Attachment:
signature.asc
Description: OpenPGP digital signature