Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* setuid limit??
@ 1999-05-12  4:00 John Smith
  1999-05-12  4:00 ` Oisin McGuinness
  0 siblings, 1 reply; 2+ messages in thread
From: John Smith @ 1999-05-12  4:00 UTC (permalink / raw)


Hi all,

How come there is a limit on setuid to only up to 65535?
if setuid higher than 65535, it will just error out and give
"invalid argument"?

setuid accepts uid_t and uid_t is defined as unsigned int which
should have more than 65535 limit?

I can have a userid > 65535 and file permissoin, authentication,
and NIS, works fine, only setuid will fail.

Any idea? is it kernel related? or C2 enhanced security related?

Thanks,
Tom




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setuid limit??
  1999-05-12  4:00 setuid limit?? John Smith
@ 1999-05-12  4:00 ` Oisin McGuinness
  0 siblings, 0 replies; 2+ messages in thread
From: Oisin McGuinness @ 1999-05-12  4:00 UTC (permalink / raw)
  To: John Smith

If you are running Digital Unix 4.0D, appendix C of the Release
notes for 4.0D describes how to enable extended uids and gids;
in 4.0F (just out) the instructions are in section 4.19
of the release notes.
Essentially (but read the caveats, quite a few in the 4.0D
reference I just gave) use dxkerneltuner
to turn on enable_extended_uids, and reboot.

Oisin McGuinness
SBCM
277 Park Avenue
NY NY 10172

John Smith wrote:
> 
> Hi all,
> 
> How come there is a limit on setuid to only up to 65535?
> if setuid higher than 65535, it will just error out and give
> "invalid argument"?
> 
> setuid accepts uid_t and uid_t is defined as unsigned int which
> should have more than 65535 limit?
> 
> I can have a userid > 65535 and file permissoin, authentication,
> and NIS, works fine, only setuid will fail.
> 
> Any idea? is it kernel related? or C2 enhanced security related?
> 
> Thanks,
> Tom



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-12  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-12  4:00 setuid limit?? John Smith
1999-05-12  4:00 ` Oisin McGuinness

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox