Results 1 to 10 of 10
-
09-17-2004, 12:40 PM #1Newbie
- Join Date
- Jun 2004
- Posts
- 16
What file is UMASK stored for BASH?
I am trying to configure the default umask setting for my users when they login using ssh. What file is this in? Is there a way I can change it per user? I am running RedHat. Any help will be appreciated.
Thank You.
-
09-17-2004, 12:44 PM #2Junior Guru
- Join Date
- Oct 2002
- Posts
- 229
/etc/profile
You can do an "if" there to have it different for users/groups
-
09-17-2004, 12:51 PM #3Newbie
- Join Date
- Jun 2004
- Posts
- 16
Originally posted by darksoul
/etc/profile
You can do an "if" there to have it different for users/groups
-
09-17-2004, 12:57 PM #4Junior Guru
- Join Date
- Oct 2002
- Posts
- 229
Yes, it uses the default.
For the jail thing it depends on how its setuped.
-
09-17-2004, 01:04 PM #5Aspiring Evangelist
- Join Date
- Aug 2004
- Location
- Colorado, US
- Posts
- 427
for chroot just use the same file in the chroot, and bash will read it.
-
09-17-2004, 01:08 PM #6Newbie
- Join Date
- Jun 2004
- Posts
- 16
Originally posted by darksoul
Yes, it uses the default.
For the jail thing it depends on how its setuped.
-
09-17-2004, 01:10 PM #7Newbie
- Join Date
- Jun 2004
- Posts
- 16
Originally posted by inimino
for chroot just use the same file in the chroot, and bash will read it.
-
09-17-2004, 01:36 PM #8Aspiring Evangelist
- Join Date
- Aug 2004
- Location
- Colorado, US
- Posts
- 427
yes, exactly
-
09-18-2004, 10:25 AM #9Newbie
- Join Date
- Jun 2004
- Posts
- 16
That worked yesterday, Thanks for everyones help.
-
09-18-2004, 10:47 AM #10Aspiring Evangelist
- Join Date
- Aug 2004
- Location
- Colorado, US
- Posts
- 427
No problem, glad to hear it helped you