It is currently Mon, 26 Oct 2020 02:46:57 GMT



 
Author Message
 gids in kernel

apache documentation states:
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
#  when the value of (unsigned)Group is above 60000;
#  don't use Group nobody on these systems!

does this apply to linux in either the 2.2 or 2.4 kernels?
i'd like to use a block of uids from maybe 63000-65000, with
gids of the same number, for web domains, and want to know if i'll have
any problems.

Thanx,

-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                       Network Administrator/Engineer
thelittlepri...@asteroid-b612.org       Intergrafix Internet Services

    "Dream as if you'll live forever, live as if you'll die today"
http://www.**-**.com/                 http://www.**-**.com/
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Tue, 19 Aug 2003 23:10:03 GMT   
 gids in kernel

Works here.

foo:x:65534:65534:Foo test:/tmp:/bin/bash

Script started on Fri Mar  2 10:07:17 2001
# ls -ls /tmp
total 0
   0 -rw-r--r--   1 65534    65534           0 Mar  2 10:03 foo
# exit
Script done on Fri Mar  2 10:07:32 2001

Execute this as root. You will find that there's no problem.

int main()
{
    setuid(65535);
    setgid(65535);
    system("whoami");
    return 0;

FYI, you can readily test all this stuff yourself. The Apache
documentation you quote seems strange. I don't think the
UID/GID alias problem exists on systems where Apache is likely
to be run (20 MHz VAXen running Ultrix don't make good Web Servers)

Cheers,
{*filter*} Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Tue, 19 Aug 2003 23:30:03 GMT   
 
   [ 2 post ] 

Similar Threads

1. routing by GIDs

2. NFS with different UID/GIDs?

3. How to use Groups and GIDs?

4. GIDs

5. Solaris Special GIDs

6. mapping GIDs across NFS mounts

7. Priocntl--default nice for GIDs

8. OpenLDAP, Replication, UIDs and GIDs ...

9. >UIDs & GIDs

10. Help with MSQuery and Unix GIDs


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software