Click to See Complete Forum and Search --> : Give me a hint....


recluse.
07-26-2001, 09:51 AM
Ok I've been a bad boy, last night I was messing around with permissions etc in an attempt to make my box more secure. This is what I believe started the problem. Now this morning I boot up and X doesn't come up like usual. Ok no biggie I've fixed this before, little did I know this was a whole new problem. I fix some folder perms etc. Now I'm getting the error:
xfOpenConsole must be suid root.
Is that a program or a line in a config file? I can't find it, therefore I can't fix it. Any ideas where this comes from?
P.S. I can startx as root np (bad thing I know I'm going to break something forgetting I'm root, but I'll try not to ;). But of course not as my normal login.

Iassen
07-26-2001, 10:11 AM
I'm not sure that my answer will help you, but I think in /etc/security/console.apps (Red Hat 7) you have a list of the commands, that non-root users may run.
Check whether you have removed some file from there like startx or xserver ot xwhatever.

recluse.
07-26-2001, 11:42 AM
Nope I can't find it anywhere. I'm running Progeny. I wonder what it's called on my system.

mychl
07-26-2001, 12:26 PM
SetUID as root means the following:

A program that can be run by a user, is usually owned by that user. When something needs to be setUID root, it means that no matter who starts the process, the owner needs to be root. The way to set this is to put a 4 infront of your permission #'s.

Example. chmod 4755 aplication

The 4 will make the owner always root, but users can read and excecute the app.

HTH and GLuck

:D

recluse.
07-26-2001, 12:36 PM
Yes but what should I set to 4755? I'm sure it has to do with xOpenConsole but where is that?

[ 26 July 2001: Message edited by: recluse. ]