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.

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