>int userids

>int userids

Post by Cliff W. Drap » Sun, 30 Apr 1995 04:00:00

Does anybody know (or would anyone like to make a guess) as to what might
happen if a user has a userid of >32767?  To be more precise, I popped an
Oracle CD-ROM in my drive, mounted it without problem.  I then NFS exported
it to a Sun.  That sun had couldn't do a `pwd` without getting permission
problems inside any directory on the CD.  I moved the CD to another Sun and
didn't have a problem.  I also didn't have a problem looking at it on my
Linux box locally (it's a 486/66 running 1.2.1).

Just curious.


>int userids

Post by lucin.. » Wed, 03 May 1995 04:00:00

Quote:>Does anybody know (or would anyone like to make a guess) as to what might
>happen if a user has a userid of >32767?  To be more precise, I popped an

I tried it once a while ago, and as long as you dont go above 65535 you
should be ok. On a few systems I ran nobody had a uid of -2. (I think thats
what it should be) . /etc/passwd happily tanslates this to 65534 but other
than that I had no problems with it at all.




>int userids

Post by Mark Philli » Fri, 19 May 1995 04:00:00

On some systems (ie. SunOS 4.1.3) using a uid > 32767 causes odd problems.

For example some versions of sendmail check that the owner of a
.forward file matches the uid of the user - On SunOS this test always
fails if your uid is > 32767....

Mark Phillips

PS Your mileage will vary:-)


1. extern void (*signal(int, void (*)(int)))(int);

Subject says it all.  Can anyone explain this
prototype, piece by piece, to me?

        extern void (*signal(int, void (*)(int)))(int);

I can and do use the signal() function frequently,
but I have no idea why the compiler likes me to cast
pointers to functions as so strangely.  A successful
cal looks like:

        signal(SIGCHLD, (void(*)(int))reaper);

Although it only warns me if I don't cast it,
I'd still like to understand what all that mess
in the prototpe means.


  John Siracusa  | If you only have a hammer, you tend to

2. Scrolling in VIM

3. int connect(int sockfd, struct sockaddr *serv_addr, int addrlen )???

4. Converting UNIX disks to DOS

5. Is there a function like muldiv(int,int,int)?

6. Who can explain this audit log

7. Converting from unsigned int to int in C++ / More info

8. Anyone has emulation of lockf for perl on Solaris 2.4 ??

9. urgent: int (int argc, char argv[]) problem

10. I loose int tell(int fd) C function with new glibc !!!

11. urgent: int (int argc, char argv[]) problem

12. Problem with the "int modify_ldt(int, void *, unsigned long)" function.

13. How to use int mount() and int umount() ???