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 10-07-2004, 02:37 PM   #1
Registered: Aug 2004
Location: Jaipur(Rajasthan), INDIA
Posts: 35

Rep: Reputation: 15
permission denied message at login

Hi all,
i need some help over here.

I used useradd command to create a user. though i was succesful, but a message has put a '?' before me. please explain what does it mean....

Following are the commands that i typed and their results .........

[root@testnet etc]#useradd -m -g net -s /bin/bash -c "Test A/c" test
[root@testnet etc]#
[root@testnet etc]#su test
/bin/bash: /root/.bashrc : Permission Denied
[test@testnet etc]$

My doubt is over the line " /bin/bash :/root/.bashrc : permission Denied ".

testnet is my m/c name.

Please make me clear over the issue. Is it just a message or an error message.....
Old 10-07-2004, 02:51 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
That's perfectly normal ... you're using
"su test", not "su - test", therefore the
shell tries to give you root's environment
which you sensibly won't permit :}

Old 10-07-2004, 02:53 PM   #3
Registered: Oct 2003
Location: Amsterdam
Distribution: gentoo,debian
Posts: 47

Rep: Reputation: 15
This means that access is denied to /root/.bashrc (because user test is not root and does not have root rights). try creating a home directory for user test.


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
ssh login with normal user, receive: /dev/null: Permission denied mark78301 Red Hat 3 11-12-2005 09:20 AM
GNOME login - bind: Permission denied Fle>< Linux - Software 7 11-07-2005 11:11 AM
ls: /: Permission denied Phage Linux - General 2 10-16-2005 05:01 PM
Login against active directory. Get permission denied! ZilenT-X Linux - Newbie 6 08-15-2005 04:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 AM.

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