Latest LQ Deal: Linux Power User Bundle
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 10-28-2014, 08:54 PM   #1
LQ Newbie
Registered: Oct 2014
Posts: 7

Rep: Reputation: Disabled
Permission denied after login as root

hi dear all,

i have some problem.

after i log on as root.
and and type dir, i got error message like this :
bash: /usr/bin/dirermission denied.

and when I run ls -l
#ls -l , i see
-rw-r--r-- 1 root root
-rw-r--r-- 1 root root
-rw-r--r-- 1 root root
-rw-r--r-- 1 root root
-rw-r--r-- 1 root root

so whats the mind of some error was in my command prompt?

I already check vi /etc/passwd and I see so many nologin in every line message in my command prompt

I already check my vi /etc/securetty ad I see vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11

Old 10-28-2014, 10:29 PM   #2
Registered: Jul 2012
Distribution: Arch, CentOS, OpenSUSE Tumbleweed KDE
Posts: 531

Rep: Reputation: 56
Can you execute
ls -C -b
which is equivalent of the dir command.

Also, what's your distro?
Old 10-29-2014, 03:22 PM   #3
Senior Member
Registered: Dec 2013
Posts: 4,905

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
...and inside which directory are you trying this?



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
[SOLVED] Permission denied as root to a root-owned directory threevolve Ubuntu 3 06-06-2013 07:27 AM
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 08:34 AM
Permission Denied Login eluser Ubuntu 3 07-23-2007 11:36 AM
su root permission denied stardotstar Linux - Software 6 08-20-2006 08:24 PM
root gets permission denied Nightfrost Debian 22 11-21-2004 05:19 AM

All times are GMT -5. The time now is 07: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration