Chinaunix
标题:
useful UID/GID question
[打印本页]
作者:
千江有水
时间:
2007-10-15 23:29
标题:
useful UID/GID question
Given:
#ls -l command1
-rwsr-xr-x 1 root other 32768 May 10 15:38 command1
and
#grep myid /etc/passwd
myid
:100:312::/export/home/myid:/usr/bin/ksh
When user myid runs command1, what is the
effective UID and GID
of the process?
A. UID 0, GID 100
B. UID 0, GID 312
C. UID 312, GID 100
D. UID 100, GID 312
作者:
大蚂蚁
时间:
2007-10-16 02:12
the process is a sub process of myid's login shell
so, should select "D. UID 100, GID 312"
作者:
Minsic
时间:
2007-10-16 10:49
不是B?
作者:
ulysses_leo_lee
时间:
2007-10-16 13:48
选B
作者:
千江有水
时间:
2007-10-16 20:49
标题:
为什么选B
谈一下你的原因呢?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2