LHC Computer Grid - Rollout
> [mailto:[log in to unmask]] On Behalf Of
> Maarten Litmaath said:
> Something like this:
>
> case `whoami` in
> *[0-9])
> umask 002
> esac
>
> Comments?
Maybe a bit fragile, it assumes a naming convention (non-pool sgm
accounts don't end with a number), albeit a pretty standard one.
Similarly:
> Did you add a script to /etc/profile.d for that?
> Something like this:
>
> case `whoami` in
> *sgm*)
> umask 002
> esac
is fine unless a VO name contains the string "sgm"!
Stephen
|