Hi all,

We have an application program that we could run on a RedHat 6.2, 
but we are seeing different behavior on RedHat 7.3.

Here is the situation:
This application uses Posix Preemptive Threads, and Raw Sockets, so it 
must run as root.
We have a testing convention where  we set the suid bit of the executable, 
so it runs as root.
the user running the test sets an environment variable called $LOCAL. this 
points to a custom
configuration file for the test.

in RH6.2 the user could set the value of LOCAL in his .bash_profile, and 
the application
was able to pick up the value of LOCAL from a call to getenv(). even 
though we are running suid root.

in RH7.3, we can't see the value that was set for LOCAL, once the suid bit 
is set.
(I also tried using sudo, but got the same results)


Does any one know what has caused this change,
and can I re-create the 6.2 behavior by changing some config options on 
7.3?

Things I suspect:
changes in PAM
changes in exexve (lib)
changes in kernel syscalls

Ideas & suggestions would be appreciated.


Thanks in advance,

Jan



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to