[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how many account?



> Jack Holt wrote:
> > Well, Suns (under Solaris) support 32-bit uids, so the limit there could
> > be much higher.  Bruce's answer seems to imply that Debian uses 16-bit
> > uids.  Can someone tell me if that's true or not?  Just curious.
> 
> >From <gnu/types.h>:
> 
> typedef unsigned short __uid_t; /* Type of user identifications.  */

But then, for libc6:

typedef __u_int __uid_t;                /* Type of user identifications.  */
typedef __u_int __gid_t;                /* Type of group identifications.  */

$ cat uid.c 
#include <sys/types.h>
int main(){
  printf("sizeof(uid_t)=%i\n",sizeof(uid_t));
}
$ gcc uid.c
$ ./a.out 
sizeof(uid_t)=4

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: