🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #217

Suid function does not work in Linux!?!

#217
From: Daniel Pope
Date: Thu, 19 Feb 2004 17:28
16 lines
1637 bytes
Dear All,

I got several months ago a remote Linux RedHat 8.0 server with C Panel 8.4.0
that was installed by my provider.I have the root access.

I'm not new in Linux (nor as programmer) but I'm facing this problem:
I (badly)neede  to make a SUID C program BUT any time when I run the program
the setuid (seteuid ent the similar) function does not work at all and I get
the runtime  message error code(errno=1):
"OPERATION NOT PERMITTED".
I asked my provider if some default security settings on my Linux system
prevents it from working properly but he doesn't know.
Any hint would be greatly appreciated.
Thank you in advance!

Daniel Pope
Technical Details
Message-ID: <Rm6Zb.567209$ts4.208265@pd7tw3no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!pd7cy1no!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,e8cc7802b638d4d6,start
X-Google-Attributes: gid11033e,public
X-Google-ArrivalTime: 2004-02-19 09:28:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!pd7cy1no!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail
X-Trace-PostClient-IP: 24.80.14.233
From: "Daniel Pope" <daniel-po@shaw.ca>
Newsgroups: ahn.tech.linux
Subject: Suid function does  not work in Linux!?!
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <Rm6Zb.567209$ts4.208265@pd7tw3no>
Date: Thu, 19 Feb 2004 17:28:17 GMT
NNTP-Posting-Host: 24.69.255.206
X-Complaints-To: abuse@shaw.ca
X-Trace: pd7tw3no 1077211697 24.69.255.206 (Thu, 19 Feb 2004 10:28:17 MST)
NNTP-Posting-Date: Thu, 19 Feb 2004 10:28:17 MST
Organization: Shaw Residential Internet