Adaptec 5325301656 Administration Guide - Page 171
Create a user, group, and share; then add the user to the group, mkshare $SHARE $VOLUME
UPC - 753253016563
View all Adaptec 5325301656 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 171 highlights
Scripts in SnapCLI echo "Share '$1' does not exist." fi return 0 } Create a user, group, and share; then add the user to the group Main create a user, a group and a share and add the user to the group mkuser "$USER" "$PASSWORD" mkgroup "$GROUP" adduser2group "$USER" "$GROUP" mkshare "$SHARE" "$VOLUME" #remove the group, the user and the share rmgroup "$GROUP" rmuser "$USER" rmshare "$SHARE" Appendix B Command Line Interface 157
Scripts in SnapCLI
Appendix B
Command Line Interface
157
echo "Share '$1' does not exist."
fi
return 0
}
Create a user, group, and share; then add the user to the group
##############
#
Main
#
##############
# create a user, a group and a share and add the user to the group
mkuser "$USER" "$PASSWORD"
mkgroup "$GROUP"
adduser2group "$USER" "$GROUP"
mkshare "$SHARE" "$VOLUME"
#remove the group, the user and the share
rmgroup "$GROUP"
rmuser "$USER"
rmshare "$SHARE"