LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-11-2003, 02:52 PM   #16
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15

How do I become root?
 
Old 05-11-2003, 03:02 PM   #17
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
from the command line:
su
then enter your root password
 
Old 05-11-2003, 03:06 PM   #18
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Ok, I did that but how to I save it so I can change the permissions on the folders so I can delete them from my username?

Last edited by Ekim Gram; 05-11-2003 at 03:08 PM.
 
Old 05-11-2003, 03:08 PM   #19
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
well, your the superuser now, so you can do almost whatever, just be careful...
yeah, if you needed root to delete those files, you got the power now
 
Old 05-11-2003, 03:09 PM   #20
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally posted by Ekim Gram
Ok, I did that but how to I save it so I can change the permissions on the folders so I can delete them from my username?
one last time ;-)... you don't, you leave them under roots control. it is possible to own them, but it is very bad practise and should be avoided.
 
Old 05-11-2003, 03:13 PM   #21
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Ok, this is going to be the last time I ask this; How can I delete them after typing su and then my root password?
 
Old 05-11-2003, 03:15 PM   #22
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
uhm...
rm (filename)
we might just be totally misunderstanding you, but it's the same command as you use to delete any file
 
Old 05-11-2003, 03:16 PM   #23
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
one last time ;-)... you don't, you leave them under roots control. it is possible to own them, but it is very bad practise and should be avoided.
yeah, linux uses users (and root) for a reason
 
Old 05-11-2003, 03:20 PM   #24
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Ok, I didn't know that. I think I got the answer I was looking for. Lemme list what I'm going to do to make sure I got this right:
  • Become root by typing su and then my root password
  • type rm /home/michael/mysql to delete that folder

Is that it?
 
Old 05-11-2003, 03:22 PM   #25
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
rm -fr for a directory. see the rm nampage for more info. also bookmark the rute guide in m signature, covers all these fundamental things, and much much more.
 
Old 05-11-2003, 03:22 PM   #26
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
well, since you're removing a directory, I think you use rmdir instead. But yes, everything else is good
EDIT: rm -fr does the job too
 
Old 05-11-2003, 03:26 PM   #27
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
Ok, thanks so much guys I got it now. Just ONE more question, as I said before, the Apache HowTo is telling me to download the files I need into /usr/local How do I do that. When I download them there, they don't show up.
 
Old 05-11-2003, 03:28 PM   #28
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
try downloading them as root... and are you downloading them, then unzipping them there, or just downloading them right there?
 
Old 05-11-2003, 03:33 PM   #29
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Original Poster
Rep: Reputation: 15
How do I download them as root? And I'm downloading them as the .tar.gz It's somewhere in the Apache HowTo
 
Old 05-11-2003, 03:36 PM   #30
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
well, you really don't need to download them as root, just decompress them there...
I think this is right, if not, please correct me (I'm not in a linux box now):
just download the file anywhere (/home/andrew/apache.tar.gz), then use 'tar -zxvf apache.tar.gz', then login as root (su), then move the files to /usr/local (mv apache /usr/local/apache)...
(and as a note, the filenames I just used will be different )
 
  


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
Permission problems britishnemesis Linux - Software 4 02-19-2005 02:45 PM
Permission Problems Wynand1 Linux - Security 1 01-28-2005 06:33 AM
HD permission problems Sarrin Linux - Software 1 05-13-2004 10:16 PM
sm permission problems Jestrik Linux - Networking 0 03-27-2004 08:00 AM
Problems with Permission mordin Linux - Newbie 4 10-23-2003 02:45 PM


All times are GMT -5. The time now is 09:46 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