Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by AllenV

  1. AllenV

    Need Replacement Drive for SS 1000

    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...
  2. AllenV

    output of vi during RSC or tip session

    Did you "export TERM" ? Is your terminal emulator actualy ANSI compliant - try vt100 - as that is what ansi extended from.
  3. AllenV

    how to check log file, copy it and remove contains

    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.
  4. AllenV

    how to check log file, copy it and remove contains

    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.
  5. AllenV

    Remote console port

    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).
  6. AllenV

    Killing processes

    I think this is a double post that has been solved. thread205-571800
  7. AllenV

    Book on OLE automaton?

    http://www.amazon.com/exec/obidos/ASIN/1556226071/002-6666258-5942438 OLE is a subset of "ActiveX" these days.
  8. AllenV

    Hi guys! Given a process ID (PID

    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.
  9. AllenV

    Hi guys! Given a process ID (PID

    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...
  10. AllenV

    md5 encoding

    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...
  11. AllenV

    md5 encoding

    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...
  12. AllenV

    Array Access using Index : why is a[2] equivalent to 2[a]?

    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...
  13. AllenV

    Pointers

    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 &quot;look&quot; wierd should be avoided. Why? Because this: #include <stdio.h> char *cp =...
  14. AllenV

    sunfire 100 network interface not coming up

    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...
  15. AllenV

    Sunscreen

    As I said, I don't know if any of this will work for you, as I use &quot;ISC&quot; bind, and you are using some IPlanet product. All configuration files are plain text, editable by &quot;vi&quot;. ISC DNS server, named, is configured through a plain text file called named.conf. Inside this...

Part and Inventory Search

Back
Top