1.30.2009

password aging field

http://www.tech-faq.com/password-aging.shtml
http://www.cse.ohio-state.edu/~mamrak/CIS762/unix_encryption_tut.html


On non-trusted systems password aging is stored as part of the encrypted password each user's account in the system's password file.  The password field, which is the second field is divided in two by a comma.  The first portion, characters 1-13, is the encrypted password.  The second portion, after the comma (characters 15-18), is the password aging field for that account.
password aging field (characters 15-18) breakdown:
character 1: max weeks password is valid before expiration
character 2: min weeks password before password can change
remaining characters: last password change (in number of weeks since 1/1/1970)

the characters are Base-64, so it's kind of tricky.  See the above links for a conversion table for Base64.

calculate:
,N/TT

N = 25 weeks, 175 days max password lifetime
/ = 1 week, 7 days miniumum password before changing
S = 30
T = 31
31 * 64 = 1984
1984 + 31 = 2050 weeks since January 1, 1970 = 08/07/08


12.12.2008

lanadmin options for gigabit cards

some good stuff here: http://docs.hp.com/en/J5683-90002/ch02s02.html

specifically I like the lanadmin -x card_info PPA   it gives you firmware, driver versions, etc. level details.  example below for a port on a HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
*********** Version Information **********
Driver version: B.11.23.0609
Firmware version: 1.0.9/1.11
Chip version: 0x10
PCI Sub-System ID: 0x12ca (1000Base-T)
PCI Sub-Vendor ID: 0x103c
Board Revision: A0
Software Key: 0
Engineering Date Code: A-4550

********** Card Setting ***********
Driver State: IGELAN_ONLINE
Auto Negotiation: On
Flow Control: On
Send Max Buf Descriptors: 10
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 150
Recv Coalesced Ticks: 0

12.09.2008

using font server with Cygwin/X

In cygwin\bin\startxwin.bat

%RUN% XWin -multiwindow -clipboard -silent-dup-error -fp tcp/FONT_SERVER:7000

where FONT_SERVER is the name or address of the font server, typically tcp port 7000

12.03.2008

great inexpensive waterproof camera case

here's a great inexpensive waterproof digital camera case: Dicapac

However, the WP-410 product, even though it says it fits the Olympus Stylus 1010 or 1020, the camera zoom lens will sit on the clear plastic lens of the bag even when using the rubber extender that comes with the case.

http://tech.yahoo.com/blogs/raskin/17377?comment_start=26&comment_count=20

http://www.dicapac.com/

buy from http://www.dicapacusa.com  www.amazon.com and probably other outlets.

hpux 11.00 trusted account unlock

to "reactivate" a locked / expired "lifetime maximum reached" account on hp-ux 11.00 trusted system server:

/usr/lbin/modprpw -l -x USER


I believe in 11.11 and up all that needed is:  /usr/lbin/modprpw -k USER

11.11.2008

c7000 blade enclosures and port maps

bl860c blade server to c7000 interconnect bays port mapping:

http://docs.hp.com/en/AD217-9015B-ed5/ch03s09.html

11.05.2008

netbackup name resolutions issues

STATUS CODE 6: Veritas NetBackup (tm) for Oracle database backups fail with a NetBackup Status Code 6 (the backup failed to back up the requested files), and the RMAN log shows an ORA-2702


bpclntcmd -self -- This returns who the client believes it is
bpclntcmd -pn -- This returns who the client believes the master is, and what the master says the client is
bpclntcmd -hn -- This returns the IP address is associated with the master server, using gethostbyname()
bpclntcmd -hn -- This returns the IP address is associated with the client server, using gethostbyname()

bpclntcmd -ip -- This returns the hostname associated with the master server's IP address, using gethostbyaddr()

bpclntcmd -ip -- This returns the hostname associated with the client server's IP address, using gethostbyaddr()

All names and IP addresses should match

9.28.2008

swremove selection had errors

doing swremove and getting error swremove: selection had errors.

Nothing further in the swremove.log or any of the swagent.log files in /var/adm/sw.  The problem turn out to be two bundles with the same name, one with the name uppercase, the other lowercase.  In order for the swremove command to work, I needed to specify both bunldes:

swremove BUNDLE1 bundle1