Hi AmolBrid,
Back in Solaris7, in order to use dhcp and get around the system being renamed 'unknown' if your dhcp server did not supply a name, we used to 'comment' or remove the following lines in the /etc/init.d/inetsvc file:
hostname=`/sbin/dhcpinfo Hostname`
if [ -z...
Hi Tech84,
Here is the contents off the administrative file that I use:
mail=root
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=ask
setuid=nocheck
action=nocheck
basedir=default
This file works great for me on normal directory-type Sun packages. I...
Hi All,
Does anyone know of a tool or command to display the firmware rev level on Ultra-sparc systems without taking them down to the ok> prompt? I also need to find out the firmware levels for some SSA and Ax000 arrays but I'm pretty sure I can get those with luxadm commands.
thanks in...
Create or edit a text file in /etc called issue. (/etc/issue)
The contents will be displayed ahead of the login prompt..
It's like the /etc/motd only it is displayed before the user logs in.
Pete
The user was probably logged in to that system when the changes were made. First, you can try to unmount the nfs shares from the machine with the stale file handle and recycle the automount daemon. (Usually does not work)
If you can schedule a reboot of the problem workstation, that should...
As root, use the ndd command as follows:
# ndd -get /dev/hme0 link_speed
results will be either 0 or 1 (0=10mb, 1=100mb)
# ndd -get /dev/hme0 link_mode
results will be either 0 or 1 (0=half duplex, 1=full duplex)
I believe that all the lance cards (leX) are 10/half.
Hope this helps.
Pete
If you are using dhcp, try commenting out the following lines from the /etc/init.d/network file:
# if [ -z "$hostname" ]; then
# hostname="unknown"
# fi
On my solaris 8 sparc, they are lines 297-299
Be careful only to comment these three lines.
pgs
Hi KhB,
If I understand your dilema, this should help...
Even though you are in the directory which contains the file, shown by 'ls <filename>', you still need to tell the shell where the file is by:
1) typing ./<filename>
( the ./ tells it to look in the directory you are in)
2) or...
Hey all. thanks for the suggestions. Upon further investigation, I have found that someone had entered a value of 180 in the fifth field of the root line in the /etc/shadow file. (max no of days passwd is valid) The password must have expired. After clearing this value, all was fixed.
8-]
Pete
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.