LinuxQuestions.org
Review your favorite Linux distribution.
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 10-18-2004, 06:43 PM   #1
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Rep: Reputation: 30
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?
 
Old 10-18-2004, 06:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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
 
Old 10-18-2004, 06:59 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
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.
 
Old 10-18-2004, 07:18 PM   #4
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Original Poster
Rep: Reputation: 30
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?
 
Old 10-18-2004, 07:20 PM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
/etc/passwd is always world readable. It must be.

The shadow password file is only readable to root.
 
Old 10-18-2004, 08:30 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,109

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
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.
 
Old 10-18-2004, 08:45 PM   #7
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Original Poster
Rep: Reputation: 30
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.
 
Old 10-18-2004, 08:48 PM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
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.
 
  


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
Access denied?? Jaster Linux - Software 9 07-25-2004 07:42 PM
Access is Denied? sKiBa Linux - Newbie 7 06-12-2004 10:28 AM
access denied crossfire_mania Linux - Software 2 01-28-2004 07:14 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
access denied - but why? Steave Programming 1 08-31-2001 06:04 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration