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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-18-2004, 06:43 PM
|
#1
|
|
Member
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177
Rep:
|
Access Denied
Why am I getting "access denied" or "You don't have enough permissions to ..." When I Try to open some folders, and create folders?
|
|
|
|
10-18-2004, 06:54 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
Linux has that wonderful mechanism that stops us
from being stupid :) ... it won't let us change certain
things, and for securities sake not even READ
certain things ...
Permissions on /home/<user> directories are likely
to lock anyone who's not the owner out.
/etc/passwd for instance is only readable to root
so people can't get a hold of the passwords for a
crack-attack with John the ripper or other tools.
Cheers,
Tink
|
|
|
|
10-18-2004, 06:59 PM
|
#3
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
A user only has permissions over the folders and files that they own. Some files/directories are off limits because a regular user has no business with them. Security is a bigger deal than with Windows.
IF you need to do administration tasks, use su to get to the root accoutn
su -
it will prompt for the root password.
|
|
|
|
10-18-2004, 07:18 PM
|
#4
|
|
Member
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177
Original Poster
Rep:
|
So I can get into the root account in the shell?
I've done while trying to get access to my HD (see my other newbie thread.... ) But still I can't access these folders.
I have only created one account, is there a way I can give it more permission?
|
|
|
|
10-18-2004, 07:20 PM
|
#5
|
|
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449
Rep:
|
/etc/passwd is always world readable. It must be.
The shadow password file is only readable to root.
|
|
|
|
10-18-2004, 08:30 PM
|
#6
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,824
Rep: 
|
Yes, you can get into the root account from the shell -- type 'su' (no quotes) at the command prompt. If you want root's environment too (and you probably do) then type 'su -'. As a general rule, once a home desktop system is set up, you shouldn't need to become root but for software installs and the like. One thing I like to do is make the logs readable by the wheel group and add myself to wheel. That way, I don't have to become root to do the mundane chore of reading logs.
|
|
|
|
10-18-2004, 08:45 PM
|
#7
|
|
Member
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177
Original Poster
Rep:
|
When you say the root environment, do you mean that the GUI will allow me to access the files and folders that i need to be root to access?
If so .... I still can't access them. Unless I need to do something else other than just enter the command "su -" and type my password in.
|
|
|
|
10-18-2004, 08:48 PM
|
#8
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
aje, if this is referring to the hard drive problem then comments are in that thread.
http://www.linuxquestions.org/questi...hreadid=244322
Follow the advice there.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:49 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
|
|