Difference between revisions of "Opensolaris"
Jump to navigation
Jump to search
m (→CIFS) |
m (→CIFS) |
||
Line 16: | Line 16: | ||
* zfs sharesmb=name=data rzpool/data | * zfs sharesmb=name=data rzpool/data | ||
* zfs set sharesmb=on rzpool/data | * zfs set sharesmb=on rzpool/data | ||
− | * zfs sharesmb=abe=true rzpool/data | + | * this is for share permissions |
+ | ** zfs sharesmb=abe=true rzpool/data | ||
+ | * this is for security permissions | ||
+ | ** /usr/bin/chmod A=everyone@:rwxpdDaARWcCos:fd:allow /rzpool/data/ | ||
* chmod 777 /rzpool/data | * chmod 777 /rzpool/data | ||
+ | |||
+ | Note that at this point, everyone has full control (because of the big chmod above) | ||
Line 28: | Line 33: | ||
==Links== | ==Links== | ||
− | Info on managing user perms in unix: http://www.aspdeveloper.net/tiki-index.php?page=SolarisCIFSPermissions | + | * Info on managing user perms in unix: http://www.aspdeveloper.net/tiki-index.php?page=SolarisCIFSPermissions |
− | Info on creating shares via windows: http://opensolaris.org/jive/thread.jspa?threadID=132276&tstart=0 | + | * Info on creating shares via windows: http://opensolaris.org/jive/thread.jspa?threadID=132276&tstart=0 |
+ | * Info on ACLs and security permissions http://www.aspdeveloper.net/tiki-index.php?page=SolarisCIFSPermissions |
Revision as of 05:18, 24 August 2010
Updating
- pkg set-authority -O http://pkg.opensolaris.org:80/dev opensolaris.org-dev
- pkg set-authority -P opensolaris.org-dev
- pkg authority
PUBLISHER TYPE STATUS URI opensolaris.org-dev (preferred) origin online http://pkg.opensolaris.org:80/dev/ opensolaris.org origin online http://pkg.opensolaris.org/release/
- pkg refresh
- pkg image-update
CIFS
Unix Way
- zfs create –o casesensitivy=mixed rzpool/data
- zfs sharesmb=name=data rzpool/data
- zfs set sharesmb=on rzpool/data
- this is for share permissions
- zfs sharesmb=abe=true rzpool/data
- this is for security permissions
- /usr/bin/chmod A=everyone@:rwxpdDaARWcCos:fd:allow /rzpool/data/
- chmod 777 /rzpool/data
Note that at this point, everyone has full control (because of the big chmod above)
Windows Way
To create shares, must add domain user to local admins on unix box:
- smbadm add-member -m domainadmin 'administrators'
This might be required
- sharemgr set -P smb -p abe=true -s /rzpool/new smb
Links
- Info on managing user perms in unix: http://www.aspdeveloper.net/tiki-index.php?page=SolarisCIFSPermissions
- Info on creating shares via windows: http://opensolaris.org/jive/thread.jspa?threadID=132276&tstart=0
- Info on ACLs and security permissions http://www.aspdeveloper.net/tiki-index.php?page=SolarisCIFSPermissions