Solaris 10 SSH Migration

While migrating data between multiple servers I ran into a few interesting situations with SSH that I thought would be worth mentioning. If nothing else it will add some more documentation to this site. Solaris tar vs. GNU tar After using tar for years on Linux I always figured all tar’s were the same until I tried to untar an archive on Solaris. When I untar’ed a Linux tar archive on Solaris I ran into an error along with a @LongLink file in my directory. This was caused by incompatabilities between GNU tar and the default tar bundled in Solaris. …

Solaris 10 Samba / ZFS Configuration

The following is a summary detailing step-by-step how to setup Solaris 10 as an active directory integrated file server using Samba and ZFS. The following example comes from a production configuration on an x4500 and previously a similar configuration was used on a production Linux file server for three years. I will update this web site as I test my final configurations. I make no promises/warranties regarding any of this information. The following information contains my opinions from my own experience with Solaris/Samba/ZFS. The following documentation is provided for educational purposes only and should be used at your own risk. …

Solaris 10 Samba Maintenance

Replace permissions on a project directory Because ZFS ACL’s include the concept of inheritance and differentiate between files and directories we need to do a search and replace operation in order to recursively change permissions on an entire directory. chmod -R A- /export/Corporate/Saleschmod -R 770 /export/Corporate/Saleschmod A0=owner@:————–:fdi—:deny /export/Corporate/Saleschmod A1=owner@:rwxpdD-A-W-Co-:fdi—:allow /export/Corporate/Saleschmod A2=group@:————–:fdi—:deny /export/Corporate/Saleschmod A3=group@:rwxpdD——–:fdi—:allow /export/Corporate/Saleschmod A4=everyone@:rwxp–aARWcCos:fdi—:deny /export/Corporate/Saleschmod A+group:domain+domain users:rx:deny /export/Corporate/Saleschmod A+group:domain+corporate-all:wpdDxrcaRAwW:fd:allow /export/Corporate/Saleschmod A+group:domain+corporate-sales:wpdDxraRAwW:fd:allow //export/Corporate/Saleschmod A+group:domain+domain admins:Co:fd:allow /export/Corporate/Salescd /export/Corporate/Salesfind . -type d -exec chmod A0=owner@:————–:fdi—:deny {} ;find . -type d -exec chmod A1=owner@:rwxpdD-A-W-Co-:fdi—:allow {} ;find . -type d -exec chmod A2=group@:————–:fdi—:deny {} ;find . -type d -exec chmod A3=group@:rwxpdD——–:fdi—:allow {} ;find . …