LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2005, 03:37 PM   #1
longbow99
LQ Newbie
 
Registered: Nov 2004
Posts: 13

Rep: Reputation: 0
file premissions


Hello,
I have recently installed mandrake linux as part of a website project. I have not done this before. I tried to change some files in the /var/www folder, however it says i do not have rights to change them. I believe i need to login as "root". can you tell me how to do this using the konsol?


Thank you
 
Old 02-01-2005, 03:47 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Login as a normal user.
Type
Code:
su
When prompted, enter the root password. When you are finished, log out of the root sub-shell by pressing Ctrl+D or typing
Code:
exit
You should only use the root account where you have to, as it has the capability to seriously damage your system. In particular, programs run by root are more susceptible to security attacks and viruses, unless they are specifically designed to be run as root.

For this purpose you can also run individual commands as root:
Code:
su -c 'command'
However, this way you have to keep entering your password each time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User premissions?? skate Linux - Newbie 3 06-02-2005 10:06 AM
Folder premissions windsurf Linux - Newbie 3 06-02-2005 09:46 AM
premissions for ports mdk Linux - Newbie 3 09-16-2004 01:40 PM
premissions? Nohbudy Linux - Newbie 5 08-29-2004 10:56 AM
quake 2/3 premissions Beav Linux - General 3 10-03-2002 01:01 AM


All times are GMT -5. The time now is 03:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration