linux egid

V13 v13 at priest.com
Mon Sep 2 04:16:01 EEST 2002


To parakato den ksero an einai linux specific...

Oso kai an to epsaksa, den brika tropo oste ena process na mporei na alazei to 
effective gid toy se ena apo ta supplementary (xoris ti xrisi suid/sgid 
programmato opos h sg). Parola ayta omos enas xristis mporei na kanei ta 
eksis:

hell:/tmp$ ls -l r
-rwxr-xr-x    1 test     users      465791 Sep  2 00:38 r
hell:/tmp$ id
uid=1001(test) gid=100(users) groups=100(users),16(audio)
hell:/tmp$ chgrp audio r
hell:/tmp$ ls -l `which chgrp`
-rwxr-xr-x    1 root     root        17456 Aug 19  2001 /bin/chgrp
hell:/tmp$ chmod 2755 r
hell:/tmp$ ls -l r
-rwxr-sr-x    1 test     audio      465791 Sep  2 00:38 r
hell:/tmp$ ./r
sh-2.05$ id
uid=1001(test) gid=16(audio) groups=100(users),16(audio)

Etsi mporei na alaksei to egid toy xoris xrisi suid/sgid (me uid/gid == 0) 
programmaton (lege me sg).

.. den ksero ti na po ..
Moy ksefeygei kapoia synartisi h opoia na kanei to parapano, h einai kapoio 
eidos paranoias ? Einai entelos pontio (no offence) na mporei na to kanei 
kapoios me plagio tropo (o opoios einai apolyta sostos) alla oxi kateytheian.

<<V13>>

p.s. molis epibebaiosa oti isxyoyn kai se irix 6.4 ta parapano...



More information about the Linux-greek-users mailing list