Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-02-2011, 04:39 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Unhappy Access Denied

I'm an IT student just starting to learn Linux/Unix and working with RedHat. Today I was doing the textbook exercises for permissions when the terminal quit accepting commands. I tried to revert back to the original permissions but nothing would work. I rebooted hoping that would help, but now when I try to login to that account the login fails and I'm returned to the login banner. I have tried to access through root, but whenever I try to run any kind of command I get a message that Access is denied. Please help, I have 2 chapters I need to have finished by Monday, and if I can't get this account working again, I will have to redo all of my work since January.
Old 04-02-2011, 04:49 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Well, what did you do to cause the error? It is hard to advise on how to fix the problem, if we don't know what caused it. Did you mistype a command from the assignment?
Old 04-02-2011, 07:04 PM   #3
LQ Newbie
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
I don't believe I mistyped anything, I was changing permissions on a file and I entered chmod 200 inform (the file name) followed by chmod 300 inform, and chmod 400 when it stopped taking commands. I don't even know of any way to get this to come up in order to find a mistake, as I am unable to get into that account.

Last edited by jdebrincat; 04-02-2011 at 07:20 PM. Reason: spelling
Old 04-02-2011, 07:53 PM   #4
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Log in as root or boot a Live CD, look at the accounts shell history file if unsure and reverse what you fscked up.
Old 04-02-2011, 08:22 PM   #5
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
It sounds, to me, similar to what happens when the root file system drive has an error and the is remounted as "read only." Can you examine the log files (usually in /var/log/messages) to see if there is a clue there?

I note the you are using a terminal to access a (presumably) shared system. If this is the case, can you ask he system administrator to check for system problems? (I also note that a few of the above posts assume that you are using a personal Linux/GNU system, not a shared school system. If that's the case, booting from a live image CD/DVD, mounting the problem file system, and examining the logs might be helpful.)


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
Not able to access network printer access denied. arvind.s Linux - Networking 1 08-04-2009 06:05 PM
squid "access.log" access denied no user name jatender Linux - Server 1 10-02-2007 04:28 AM
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 02:36 PM
Suse 10.1, Access denied while trying to access a partition Rollotamasi Linux - Newbie 1 06-23-2006 04:59 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration