nataraj: (Default)
[personal profile] nataraj
Товарищи, я правильно понимаю, что нерутовый процесс не может менять свою эффективную группу. В том числе и на ту в которую пользователь включен?

Date: 2011-11-01 01:30 pm (UTC)
From: [identity profile] svolik.livejournal.com
http://help.ubuntu.ru/wiki/стандартные_права_unix
Процесс не может явно изменить ни одного из своих четырех идентификаторов, но есть ситуации когда происходит косвенная установка новых эффективных идентификаторов процесса(SUID и SGID).

Date: 2011-11-01 03:21 pm (UTC)
From: [identity profile] ask-ripe.livejournal.com
ну не совсем
-=-
The setgid system call sets the real and effective group IDs and the saved set-group-ID of the current process to the specified value. The setgid system call is permitted if the specified ID is equal to the real group ID or the effective group ID of the process, or if the effective user ID is that of the super user.
-=-

Profile

nataraj: (Default)
Swami Dhyan Nataraj

July 2024

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 21st, 2026 05:55 am
Powered by Dreamwidth Studios