]> Zhao Yanbai Git Server - minix.git/commitdiff
make top suid root to do getsysinfo.
authorBen Gras <ben@minix3.org>
Mon, 31 Jul 2006 14:37:56 +0000 (14:37 +0000)
committerBen Gras <ben@minix3.org>
Mon, 31 Jul 2006 14:37:56 +0000 (14:37 +0000)
commands/simple/Makefile

index 58fa74c80b7e539db06468136d2c7d2f04418913..d5f74f3a871ca8abff1e7c0845b9936006c8cf9f 100755 (executable)
@@ -1618,7 +1618,7 @@ install:  \
        install -cs -o bin $? $@
 
 /usr/bin/top:  top
-       install -cs -o bin $? $@
+       install -cs -o root -S 4755 $? $@
 
 /usr/bin/touch:        touch
        install -cs -o bin $? $@