umask help

George Goodman georgegoodman at gmail.com
Fri Aug 25 21:31:52 PDT 2006


Hi Dave,

Thanks for all the help.

> >  If I issue the umask
> > command, I get 0022, so I will wait till tomorrow to see what the
> > insecurity report says and report back.
>
> I have never seen a 4-digit umask.  What shell are you using?

bash.

> Your goal in all this is not to make /etc/security fall silent,
> your goal is to have a secure umask for root.

Indeed.

> You should set the umask you want deliberately.

Right, that is what I thought.

> A hint: comments are another name for lie.  Look at what the code
> actually does.  What it *ought* to do is run your default shell,
> and see what the umask actually is, and report that.  What it does do
> is poke around with heuristics and make what appears to be a bad guess.
> Your umask is what it is, not what /etc/security says it is.

Ok, so when logged in and I issue the umask command it tells me
exactly what my umask is?

> You're running 3.9?

Yep... continued in other thread [SOLVED]

Cheers,

GG


More information about the Openbsd-newbies mailing list