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 10-08-2013, 07:59 AM   #1
shaana2khan
Member
 
Registered: Nov 2012
Posts: 46

Rep: Reputation: Disabled
/home/users/.bash_profile Permisson Deny


Hello,

I have some issue with this command "/home/users/.bash_profile" when i am running this command,its showing me error IN RHEL 6, after that i have done some Goggling, and find that to change the permission,but still same issue...

Please help me...
 
Old 10-08-2013, 08:07 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
The .bash* files owner and group should be that of the user and they should have at least read permission.

You mention running this file, can I assume that you mean parsing instead of running?
 
Old 10-09-2013, 07:12 AM   #3
shaana2khan
Member
 
Registered: Nov 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
Hello Sir,

I have tried the way to suggest me and it works for me, but its not showing any user login detail...

Please check the below given question and answer, i quite confuse...

) Which files are called for user profile by default when a user gets login

Ans $HOME/.bash_profile, $HOME/.bash_bashrc

PLease help me....
 
Old 10-09-2013, 07:30 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Quote:
Originally Posted by shaana2khan View Post
I have tried the way to suggest me and it works for me, but its not showing any user login detail...
I don't know what it is you are trying to say or what your are asking. If this is related to your first post: parsing .bash* file(s) doesn't give any output to screen, it sets variables (example: PATH, PS1) and/or runs/parses other environment related commands (example: dircolors).

Quote:
Please check the below given question and answer, i quite confuse...

) Which files are called for user profile by default when a user gets login

Ans $HOME/.bash_profile, $HOME/.bash_bashrc
Have a look at the bash man page, especially the INVOCATION section.

Hint: A normal user login is an interactive login shell.
 
  


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
-bash: /home/rb27/.bash_profile: Permission denied rach_here Linux - Newbie 4 09-08-2011 07:28 PM
why my alias is effective only after running . /home/oracle/.bash_profile redhatwannabe Linux - General 2 05-14-2009 01:34 AM
bash_profile file doesn't run in home directory spaceman spiff Slackware - Installation 3 01-13-2009 11:59 PM
/etc/profile VERSUS /home/.bash_profile carbono Linux - Newbie 12 10-12-2005 09:23 AM
.bash_profile for all users addisono Linux - Newbie 1 03-01-2004 11:54 AM

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

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