Skip to main content

All Questions

Tagged with
0 votes
1 answer
110 views

When logging into a UNIX/Linux box, which profile scripts are executed?

When logging into a UNIX/Linux box, which profile scripts are executed? Typically there are several different profile scripts that set the $PATH variable and other aspects of the user's environment. ...
drewhouses's user avatar
0 votes
1 answer
370 views

umask does not have -S option

I'm trying to use umask -S to show the current mask in symbolic form (per man umask on my system, which gives me the page BASH_BUILTINS(1)). But umask doesn't seem to behave as the manpage claims: ...
Kevin Kruse's user avatar
1 vote
1 answer
832 views

user resources csh.login restrictions

I need to fix a vulnerability in a RedHat 6 server: File /etc/csh.login must exist, and must trigger an invocation of source /etc/profile.d/IBMsinit.sh. I verified file csh.login is in /etc, but I ...
user301459's user avatar
0 votes
1 answer
2k views

Having problems changing umask in csh

So i'm running RHEL 6.5 and I have a user that wants to use csh for what they are doing. They also want the umask to be set to 002. So I started to put umask 002 into .cshrc and call it a day. ...
Andrew's user avatar
  • 1
4 votes
5 answers
7k views

Does $SHELL store the path to the default shell in Linux?

My administrator says that my default shell is set to bash, but $ echo $SHELL /bin/csh $ Is the default shell related to the SHELL variable at all? Is not, what is the variable used for?
Lazer's user avatar
  • 35.6k