Friday, October 12, 2012

stupid solaris 10 tricks

installation:  use the automatic installer for the install

http://blogs.vmware.com/guestosguide/

networking:  on vmware esxi eventually the e1000 works  Install the vmware tools for solaris.

didn't use this but here is networking link for vmware vmxnet
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009199

desktop:   use cde.  it still works.
    /usr/dt/bin/Xsession is used to create the session.  use it with vncserver to get rid of the horrid twc desktop (at least there is a default, not a crash, but still.)

nfs mounts:  nfs version 3 should be max for this place.  many of the nfs servers don't support the version 4 authentication and will say "not owner" when you do mounts.  Ubuntu supports 4, readynas does not.

nfs partitions:
http://www.ogre.com/node/64

paths:  very few paths are set up.  Add /usr/X11/bin and /usr/openwin/bin to the path somewhere, or vncserver won't work (and probably a lot else).

useradd -m -d /export/home/<account> creates an account with a home directory.  /home is off limits.  useradd doesn't add on the user name so you have to supply it with this command.  after this use passwd.

if you mess up usermod will let you change some things.

Probably more to it with the kerberos stuff, and roleadd, rolemod, etc.

http://docs.oracle.com/cd/E23824_01/html/821-1451/gkhqx.html#SYSADV1adduser-1

ssh logins for root from remote:
# /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no 
# svcadm restart svc:/network/ssh:default

https://blogs.oracle.com/sunrise/entry/enable_ssh_root_login_in

bash tuning:  for lack of a better way, copy over .bashrc and .profile from linux if they contain the bash setup stuff.  .profile should be merged, and .bashrc probably doesn't exist.  Add path stuff above to .profile

No comments:

Post a Comment