in reply to Passwords in scripts

chmod 0700 <file> would give the ower access to read-write-exec and everone else (group and other) no access. Also on many current enterprise level unix oses you also have to worry about ACL settings which can take or grant access at a different level then chmod. For instance on solaris look here...


-Waswas

Replies are listed 'Best First'.
Re: Re: Passwords in scripts
by jfroebe (Parson) on Mar 23, 2004 at 21:57 UTC
    Good point! :-) ACL must be enabled in the filesystem as well at the kernel level (Solaris has this enabled by default now). GNU/Linux must be set up manually on most distributions.