LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2005, 07:01 PM   #1
jesusphreak
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
how to have permission?


I checked some of the other threads but they seem to be even more advanced than my question. I just need to know how to simply change my access to have full permission. When in a terminal I get "stephen@localhost:" I need privilages to make a new directory.
I know it is simple but I haven't used linux in at least 3 years.
Thanks
Stephen
 
Old 01-22-2005, 07:52 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
type " $su "
fill in the rootpassword

and you are root in that console

type " exit " to get to normal user again

egag
 
Old 01-22-2005, 08:14 PM   #3
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
make a directory - WHERE ?

within your home directory and /tmp you should already have the mentioned permissions.

maybe this will offend you, but here it comes:


linux file permissions:
----------------------

http://www.karakas-online.de/gnu-lin.../security.html
 
Old 01-22-2005, 08:44 PM   #4
jesusphreak
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
thanks guys for the resonses. I forgot about the $su
I was trying to see my Windows XP drives from within linux but I could not find them anywhere. I am new to this so I am not sure where I should have been looking. I found all the diskdrives (floppy, cd, usb) but no hard drives.
The reason I was trying to create a folder was because I found a post online telling me how to mount the drrives but required a folder. I was trying to make it in /home but I gave up on it for now untill I learn more of the basics I guess. I found the drive I was looking for by using firefox and typing "/" or "/dev" (It was something like that. I just did it an hour ago but Ive been playing with linux for so long today that i dont remember)
I was able to see the directories but it was not like my "home" folder. It looked like an ftp site so I guess I still need to figure out how to have shortcuts to my drives. They must be mounted if I could see them in firefox.
anyways, thanks for the link. I will take a look at it and try to get a better grip of linux.
Thanks again,
stephen
 
Old 01-23-2005, 05:12 AM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
To mount a drive use mount command. If, for example you want to mount hda1 first create a folder named hda1 in /mnt (if it's not already there) and use "mount /dev/hda1 /mnt/hda1". That's the simplest form of this command. For more options use, of course, info mount or man mount.
You can also edit the /etc/fstab file to mount automatically at startup any drives. But be careful with NTFS drives as they sould be mounted read-only.
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Why don't I have permission ben_h_24 Linux - Newbie 19 09-17-2005 12:51 PM
Permission Infinite_Pizza Linux - General 5 04-20-2004 09:40 PM
Permission help again iLLuSionZ Linux - Newbie 12 11-23-2003 08:35 AM
permission help! beautifulmind Linux - General 1 07-24-2002 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration