LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Permission Denied while coping files (https://www.linuxquestions.org/questions/linux-general-1/permission-denied-while-coping-files-333457/)

busaussie 06-14-2005 09:45 AM

Permission Denied while coping files
 
Hello,

i know this a fairly straight forward question, but i have been trying to work this out for the last 2 hours.. and now i am just tired..

I am using Linux SuSE 9.2..

When ever i try to save my xf86.config fie in /etc/x11/ it tells me that i have access denied... BUt you would thik it would be easy like logining into as root from the KDE login page.. but it will not let me log in as a user. It logs just into the yast.... So i go searching on yast to change my permission to root so i can do what i want... I cant find out...

How do i change my login, to a root login user name?

I want to be able to move things around..... But it will not let me!

Thank you

rose_bud4201 06-14-2005 09:54 AM

You shouldn't be logging in as root - you should be using the command "su" (i.e. "superuser") from a terminal while logged on as your normal user. This changes your login to root temporarily for that terminal, until you type "exit".

mdg 06-14-2005 09:54 AM

You should have a Super-user konqueror file manager somewhere in KDE. You'll need to supply your root password when opening it, then you can edit and save files.

It's not a good idea to login as root - it increases your chances of damaging the system. If you're comfortable with the command line, do "su" and supply password and you can make whatever changes you need

edit: rosebud beat me to it

busaussie 01-05-2006 06:27 AM

easy thankx

timmeke 01-05-2006 09:36 AM

Actually "su" does not stand for "Super User" but for "Switch user".
It can switch to any other user, as long as you have the password.
When you have switched to root or are logged in as root, no passwords are needed.
The default is to switch to the root user, however.

su #same as "su root"
su some_user #swith to some_user

rose_bud4201 01-05-2006 11:26 AM

Heh, I knew someone would call me on that. I know it does, I just always tend to think of it as superuser, and somehow it's easier to remember that way (possibly since there's exactly 2 users on most of my boxes - me and root ;) ). You're absolutely right, though.


All times are GMT -5. The time now is 10:53 AM.