SiNgAuTaRa - Live with EMC # NetApp # Solaris # Linux # UNIX

July 10, 2006

user account maintanance

Filed under: solaris, linux, unix

1) How to add user

# useradd singa

2) How to change passwd

# passwd singa

3) If you need to changes user account

# vi /etc/passwd

4) Let’s say you have NIS server, then you need to change NIS account/passwd

# vi /var/yp/nis/passwd
# vi /var/yp/nis/shadow
# passwd -r nis singa

setup new linux box using Red Hat

Filed under: linux, unix

I’m using Red Hat as production clients, if there are changes with the hostname/ip, i just do below command.

# vi /etc/sysconfig/network
# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Then reboot.

setup new sun box using solaris

Filed under: solaris, unix

There are several ways to set up new solaris box

1) install fresh using CD or jumpstart

2) already set-up just need to fresh configure (15 minutes downtime)

# sys-unconfig

3) already set-up but need to changes IP/hostname/netmask (5 minutes downtime)

# vi /etc/netmasks
# vi /etc/hosts
# vi /etc/hostsname
# vi /etc/nodename
# vi /etc/net/ticlts/hosts
# vi /etc/net/ticots/hosts
# vi /etc/net/ticotsord/hosts

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers