- some generic notes about configuring solaris 10 / solaris 11 # man nwamd - show the networking config nieusma@server3:~# svcs network/physical STATE STIME FMRI disabled Jul_05 svc:/network/physical:default online 14:29:38 svc:/network/physical:nwam - to change from auto-magic mode to manual mode: # svcadm disable network/physical:nwam # svcadm enable network/physical:default - use nwamcfg to configure Network Configuration Profiles - use ipadm instead of ifconfig to set network info: # dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE bge3 Ethernet up 100Mb full bge3 # dladm show-link LINK CLASS MTU STATE BRIDGE OVER bge3 phys 1500 up -- -- # ipadm delete-if bge3 # dladm rename-link bge3 subitops1 # ipadm create-addr -T dhcp subitops1/dhcp # ipadm show-if IFNAME STATE CUTTENT PERSISTENT lo0 ok -m-v-----4- --- subitops1 ok bm-------4- -46 # ipadm show-addr subitops1/dhcp ADDROBJ TYPE STATE ADDR subitops1/dhcp dhcp ok 10.8.48.242/24 # ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/? static ok 127.0.0.1/8 subitops1/dhcp dhcp ok 10.8.48.242/24 ------------- - Assigning Roles to User Accounts - Roles can be assigned to users only. - To determine which roles are assigned to your user account, open a terminal window and type: $ roles root - To assign an existing role to a user, use the usermod command. # usermod -R zfssnap username - To create and assign a role to a user, - use the roleadd command to create the role, - and the usermod command to assign the role to a user. To create a role, use either of the following two methods: # roleadd -K profiles="System Administrator" sysadmin # roleadd sysadmin # rolemod -P "System Administrator" sysadmin - To assign the role: # usermod -R zfssnap,sysadmin username -