LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   KDE restarting and user question (https://www.linuxquestions.org/questions/linux-general-1/kde-restarting-and-user-question-131528/)

BajaNick 01-04-2004 06:18 PM

KDE restarting and user question
 
When i hit ctrl-alt-bkspace KDE restarts, X does not shut down. Any ideas as to why??
Also I can view the contents of another user on my system that I am not supposed to be able to. How can i set permissions to disallow this?? thanks

trickykid 01-04-2004 06:35 PM

If you start in runlevel 5, that is why it is restarting. You have to start in runlevel 3 to be able to use ctrl-alt-backspace to totally kill X, if not, it will just restart.

chmod is your friend. Change the permissions so their data or directory, /home, etc is not readable or viewable by others.

BajaNick 01-04-2004 07:12 PM

I set it to runlevel 4 in the inittab and it does not boot into X. How else can i shotdown X without starting up in 3 also when i do ctrl-alt-F1 through F5 I have no console at all just a blinking cursor. Is that related to the run level im in ? Thanks

also I set the permissions but then I could not login to one of the users, How do I deny read properties and still be able to login to that user?

trickykid 01-04-2004 08:06 PM

Quote:

Originally posted by BajaNick
I set it to runlevel 4 in the inittab and it does not boot into X. How else can i shotdown X without starting up in 3 also when i do ctrl-alt-F1 through F5 I have no console at all just a blinking cursor. Is that related to the run level im in ? Thanks
Oh, hadn't realize you were using Slack, which runlevel 4 is the same as 5 in most other distro's. If you persist to boot into the GUI, you'll just have to kill X to shut it down. I'd suggest just starting in runlevel 3 and using startx to start the GUI.

The user always needs read access to their own files unless I'm not understanding in what your trying to accomplish. Most users home directories will be set as -rwxr--r--

ezra143 01-04-2004 08:57 PM

check the ownership of those files...
or to easily establish ownership...
#chown -R user1 /home/user1

BajaNick 01-04-2004 09:41 PM

I kinda like booting into gui for now

On RH and Mandy when you open up the home folder you cannat access files under another users name/account. On slack it must have defaulted to full access cuz i didnt do anything. I just want users not to be able to access each others files. So i did chod -r for the whole user directory and when i switched to login under that user i could not login. It said i didnt have permissions even as root so i rebooted and logged in as root and changed it back.


All times are GMT -5. The time now is 05:18 PM.