Does anybody have an old SPARCServer 1000 (circa 1994)?
If so, do you happen to know if a low profile (1" high) hard drive will fit into the slots where the original ST51080N (0.75" high) drives go?
I have an SS1000 and one of the 4 HDs died (this is fatal, as they were only 1GB...
Don't forget to "HUP" or otherwise appropriately signal processes to re-init the log files where appropriate. See individual package manual pages for details. Some packages may not react well to having their log file NULLed from under them without being told that something has changed.
You should look into the logrotate GNU package. I think there's a copy on "sunfreeware.com" for most distributions including one as old as you are running. The logrotate package is specialized at moving logs, and restarting services to use new empty ones through CRON.
I'm only answering because you've gone unanswered for so long...
My only Sun machine is much older than any of yours, and actually has a Com A. On the Com A, the defaults are 8N1 @ 9600 BAUD. I use COM A as the console for this machine (mostly because I never bothered buying a keyboard for it).
Very good point, AmarG! On Solaris, ptree is found in /usr/proc/bin/ptree. This may not be in your default path, but it is certainly a good program. ptree is not available on all systems though.. HP/UX for instance has no such command.
Though this is a "c" forum - you could easily do what you want in PERL alone - by using the readily available,
"ps -ef" command. This would be the most portable way.
Store the entire process list in a binary tree using Parent Process ID as the primary, find the requested...
Not to beat a dead horse, but since many people may actually want to do passwd file auth under Linux specifically - crypt() will handle the special case of salted MD5 as well as traditional crypt. Strangely my system's shadow file has both traditional and SMD5. Here's a code sample from I...
Actually you should check the www.openssl.org project, as it includes MD5 hash capabilities and more importantly has good documentation.
On the other hand, the code that Salem has pointed to is extremely well exampled, and could be easily modified to do MD5 password comparing suitable for Linux...
Technical note - integral promotion also applies here. When adding an integral value directly to a pointer, the integer is actually added to the size of the pointer automatically.
*(2 + a);
Could be stated like so:
long *a;
*(( 2 * sizeof(long) ) + a);
This is one of the cool things about...
Standards of Programming is not always just the language standard but can include many point haired boss and lead programmer things.
Code etiquette and style standards can both dictate that things that "look" wierd should be avoided. Why?
Because this:
#include <stdio.h>
char *cp =...
It depends as statically linked versions of all of these files can be installed optionally. It's an installation choice.
You might note your Solaris version, mine (as a comparison) is a 2.6 installation on a very old SPARCServer 1000. If yours was the same, I would post the procedure that...
As I said, I don't know if any of this will work for you, as I use "ISC" bind, and you are using some IPlanet product.
All configuration files are plain text, editable by "vi". ISC DNS server, named, is configured through a plain text file called named.conf. Inside this...
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.