On 2020/05/04 15:01, Doug Moss wrote:
> For OpenBSD 6.6, amd64
> in the daily script to check security:
> /usr/libexec/security
> 
> at line 248 for checking if the umask is set:
>  my @list = qw(/etc/profile /root/.profile);
> 
> shouldn't that be instead:
>  my @list = qw(/.profile /root/.profile);
> 
> I think /etc/profile does not exist, and /.profile is the default one.
> 

I'm not sure in which situations /.profile would be used, but /etc/profile
is definitely used if it exists.

ksh documentation says $HOME/.profile and /etc/profile.

Reply via email to