![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Having trouble with .bashrc | oxoxo | UNIX for Dummies Questions & Answers | 5 | 10-24-2008 04:08 PM |
| sourcing the .bashrc | Nusy | UNIX for Dummies Questions & Answers | 3 | 05-27-2008 06:23 PM |
| alias rm = 'rm -i' in .bashrc and vnc | cy163 | UNIX for Dummies Questions & Answers | 0 | 05-23-2007 10:57 AM |
| history -c in my .bashrc | yankee428 | UNIX for Dummies Questions & Answers | 1 | 06-23-2005 05:13 PM |
| from bashrc to sh..?? | moxxx68 | Shell Programming and Scripting | 3 | 09-13-2004 06:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
/etc/bashrc umask
Hi,
I got this redhat ent 4 assigned to me now. /etc/bashrc if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then umask 022 else umask 077 fi What does it mean? I created already three user and it never had 022 umask, always 077. Thank you in advance. |
|
||||
|
I figure this out myself, if user and group are the same and userid is greater than 99 then it will use umask 022...
which most of the system userid have the same user name and group name but less than 99 on the userid, so they are not included. The only one I've seen on my user list is the nfsnobody with the same name and group and the userid is 4294967294. So this is intended for this user. But how does nfsnobody login to the server? And I don't think that nfs services is ON on my system. Any idea? Or maybe it's nfs and umask need to be 022. Able to read by others. Thanks. Last edited by itik; 12-10-2008 at 06:14 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|