linux egid
V13
v13 at priest.com
Mon Sep 2 22:41:01 EEST 2002
On Monday 02 September 2002 19:24, Άγγελος Οικονομόπουλος wrote:
> On Monday 02 September 2002 18:59, V13 wrote:
> > On Monday 02 September 2002 14:32, Άγγελος Οικονομόπουλος wrote:
> > > On Monday 02 September 2002 04:16, V13 wrote:
> > > > .. 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.
> > >
> > > dhladh auto pou 8eleis na kaneis einai na allazeis to egid mias process
> > > enw thn exeis 3ekinhsei me diaforetiko egid?
> >
> > Se ena apo ta supplementary groups, ton opoion exei etsi kai alios ta
> > dikaiomata.
>
> o xrhsths, oxi h process.
kai to process...
apo to /usr/src/linux/include/linux/sched.h:
struct task_struct {
....
/* process credentials */
uid_t uid,euid,suid,fsuid;
gid_t gid,egid,sgid,fsgid;
int ngroups;
gid_t groups[NGROUPS];
....
};
to groups einai ayta ta groups poy leme.. des kai tis getgroups(2) kai
setgroups(2);
> > > exw thn entonh entupwsh oti auto den mporei na to kanei oute o
> > > superuser (xrhsimopoiontas syscalls, etsi?).
> >
> > O root mporei na alaksei oti thelei se oti thelei.
>
> sigoura, epeidh mporei na grapsei apeu8eias sth ram :)
oxi den enoo afto... des ta man ton setgid(2), setegid(2), setregid(2) kai
genika ta set*id(2)
>
> Alla pws mporei na alla3ei to egid mias process? profanws auto 8a to kanei
> mesw tou phruna, ara me poio system call? den 8a katsw _twra_ na dw, alla
> nomizw oti den uparxei kati tetoio ston 2.4 -marcello.
epimeno na ksanadeis to arxiko mail giati isos na leme to idio.
<<V13>>
More information about the Linux-greek-users
mailing list