Wednesday, August 26, 2009

How to find out if solaris machine is 32 or 64 bits?

# /usr/bin/isainfo -kv
64-bit amd64 kernel modules

# uname -a
SunOS jack 5.10 Generic_137138-09 i86pc i386 i86pc

# cat /etc/release
Solaris 10 10/08 s10x_u6wos_07b X86
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008

Configure FTP for root logins

1. Remove 'root' line from /etc/ftpusers.

2. Edit file /etc/ftpaccess and comment out 'deny-uid' and 'deny-gid' lines. If the file doesn't exist, there is no need to create it.

NOTE: If you are using Solaris 9 or Solaris 10, the ftp* files are located in /etc/ftpd

Configure Telnet for root logins

Edit file /etc/default/login and comment out the following line as follows:
# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
# CONSOLE=/dev/console

Enable ssh root login in Solaris 10

1. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no

2. restart the services
#svcadm restart svc:/network/ssh:default

Thursday, August 06, 2009

Booting solaris from CD

Open terminal
Enter command: halt in command line. White screen will appear.
Enter command: boot cdroom