LinuxQuestions.org
Visit Jeremy's Blog.
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 04-02-2011, 05:39 PM   #1
jdebrincat
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, 05:49 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 08:04 PM   #3
jdebrincat
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 08:20 PM. Reason: spelling
 
Old 04-02-2011, 08:53 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
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, 09:22 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

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


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

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

All times are GMT -5. The time now is 04:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration