LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-14-2005, 09:45 AM   #1
busaussie
Member
 
Registered: Jun 2005
Distribution: SuSE
Posts: 33

Rep: Reputation: 15
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
 
Old 06-14-2005, 09:54 AM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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".
 
Old 06-14-2005, 09:54 AM   #3
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
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

Last edited by mdg; 06-14-2005 at 09:55 AM.
 
Old 01-05-2006, 06:27 AM   #4
busaussie
Member
 
Registered: Jun 2005
Distribution: SuSE
Posts: 33

Original Poster
Rep: Reputation: 15
easy thankx
 
Old 01-05-2006, 09:36 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
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
 
Old 01-05-2006, 11:26 AM   #6
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python CGI script can't write files, permission denied The_Nerd Programming 4 03-17-2005 12:19 PM
Suse 9.2 Pro - Network dies after a while (also while coping large files) Za_medic Linux - Networking 2 03-05-2005 11:57 PM
coping neccesary python files to chroot area dominant Linux - Security 6 12-17-2004 03:30 AM
Uploading files using PHP giving Permission Denied error MatthewG Programming 4 05-27-2004 03:38 PM
Keep getting "Permission Denied" when trying to write files dunnd40 Debian 2 02-01-2004 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration