The script below will search the current directory or one specified by the user and search for all of the accounts that have the attribute "Password Never Expires" set to true. The results are placed in a CSV file in the directory that the script is run from.
This blog is a collection of things I've learned, want to remember, or think will be useful.
Tuesday, May 12, 2009
Monday, May 11, 2009
Setting the Default Gateway on SunOS
Setting the default gateway in Sun's OS is different than any other system I have used. If the gateway isn't set using the means below, it will default to using the local interface as the default gateway. This works fine if everything is on the same subnet.
I handle this in two steps, setting the default gateway instantly and setting the default gateway to be active upon reboot. Otherwise, to only create the /etc/defaultrouter file would require that the system reboot before it becomes active.
I handle this in two steps, setting the default gateway instantly and setting the default gateway to be active upon reboot. Otherwise, to only create the /etc/defaultrouter file would require that the system reboot before it becomes active.
Labels:
Network,
sun,
System Administration,
unix
Subscribe to:
Posts (Atom)