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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-22-2005, 07:01 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 17
Rep:
|
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
|
|
|
01-22-2005, 07:52 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
type " $su "
fill in the rootpassword
and you are root in that console
type " exit " to get to normal user again
egag
|
|
|
01-22-2005, 08:14 PM
|
#3
|
Member
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307
Rep:
|
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
|
|
|
01-22-2005, 08:44 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 17
Original Poster
Rep:
|
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
|
|
|
01-23-2005, 05:12 AM
|
#5
|
Member
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|