LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-07-2004, 02:37 PM   #1
p_test
Member
 
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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 :}


Cheers,
Tink
 
Old 10-07-2004, 02:53 PM   #3
tokyoeye
Member
 
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.
 
  


Reply



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

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

All times are GMT -5. The time now is 04:20 PM.

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
Open Source Consulting | Domain Registration