(...)This could be changed at the Solaris prompt typing:
if [ "$TERM" = "" ]
then
if /bin/i386
then
TERM=sun-color
else
TERM=sun
fi
export TERM
(...)
# TERM=vt100But with this commands the values are lost when the user logouts. Due all the connections to the server console or terminal will use a vt100 terminal simulator I decided to modify the /etc/profile script as follows:
# export TERM
(...)One problem solved. Go to the second one: with only the root account nobody can login into the server via ftp, smb or something like that. I decided to create an admin account like my linux servers:
if [ "$TERM" = "" ]
then
if /bin/i386
then
TERM=sun-color
else
TERM=vt100
fi
export TERM
(...)
# useradd -d /export/home/admin -m -s /bin/ksh -c admin adminOk now I can open a FTP session. -d specifies the user folder, -s sets the shell he will use and -c specifies the full name of the user (use " to enclose the name if it has spaces). Obviously the las word is the account name.
# passwd admin
New password:
(...)
Another problem I had was that the man pages were not working. Man seemed installed but not the documentation files. I tried adding the routes to the path but finally the solution is more easy: the package SUNWman was not installed while the package SUNWdoc was perfectly on the hard disk:
# cd /cdrom/sol_10_1009_sparc/Solaris_10/ProductOne more thing: How to complete shutdown (well in this server it means 'put the server on standby'):
# pkgadd -d . SUNWman
# shutdown -y -g 0 -i 5