My SysAd Blog -- Unix
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Friday, November 04, 2011
Restore MySQL Database via Command Line
Saturday, October 29, 2011
Sun StorageTek 6140 Cache
Friday, June 17, 2011
HTML Symbol Entities issue on Blogger
However, here are some good references for HTML Symbol Entities
Log an FTP Session with a Filter
Saturday, March 19, 2011
The Importance of Library Level Integration in Open Source Environment
Open Systems Engineer, Likewise Software
As an Open Systems Engineer at Likewise Software I routinely encounter unique customer problems. Most of these problems require a clever solution which tends to be specific to the customer site.
Earlier today, however, I got a query from an Ubuntu user that really made me consider how important library level integration by application developers can be when administering an open source environment. A lot of vendors out there provide free solutions without being open source, and a lot of these solutions solve one problem or another in your environment, but it's rare to come across a piece of software that really cleanly integrates into your deployed OS in a way that provides a multitude of very clean solutions to everyday problems.
This user had a simple Linux application for which he needed to verify user authentication by simply passing the username and password to generate a pass/fail response. The application was neither pam/nsswitch integrated or GSS-enabled (built with GSSAPI support).
The user's Linux environment was already authenticating to Active Directory using Likewise Open, our open source agent which allows user authentication against Microsoft's Active Directory. As a result, I know the user would have access to a fully functional Kerberos KDC.
Anyone who has integrated Kerberos in a large environment before knows configuration can be a very painful experience. Likewise Open however, properly configures the client side kerberos and server side DNS automatically during domainjoin, so this little trip down nightmare alley is completely avoided. We are also assured that the configuration is correct.
So the only thing left to do is leverage kinit to authenticate the user against AD's KDC.
The specifics of the code in his application are not relevant, but you can see a simple example of this working using kinit from the command line:
This kind of elegant solution has been rare in large heterogeneous environments, but more and more open source developers are striving to achieve a high level of standards based integration without forcing closed source components on their end users. This is one of the clear long-lasting benefits of the open source movement and I'm very pleased to see more companies making this as part of their products' value proposition.
Thursday, September 30, 2010
The Khan Academy is Teaching the Online World
Salman gave up a successful career in finance to share his vast knowledge with the world for FREE. From what I can see, he’s a terrific math teacher.
The Khan Academy is a not-for-profit 501(c)(3) with the mission of providing a world-class education to anyone, anywhere.
Check out the Khan Academy and its amazing story.
And by the way, the Academy was recently selected by Google's project 10^100
Friday, July 02, 2010
Use Redirect Symbol to Zero File
Monday, June 28, 2010
Run the Windows Explorer GUI
1. Select Run
Then type "."
This action will invoke the C:\Documents and Settings\mysysad
2. Select Run
Then type ".."
This action will invoke a window that displays C:\Documents and Settings
3. Select Run
Then type "..."
This action will invoke a window that displays My Computer
Other misc Run exercises
Select Run
Type "explorer" - same as Type "My Documents"
Type "explorer c:"
Type "explorer desktop"
Type "explorer ."
Type "explorer .."
Select Run
Type "control panel"
Select Run
Type "recent"
Select Run
Type "calc"
Select Run
Type "notepad"
Select Run
Type "wordpad"
Select Run
Type "ping MySysAdDOTCOM"
Select Run
Type "c:" or "d:" or "a:"
Select Run
Type "freecell"
Type "sol"
Type "mshearts"
Type "spider"
Type "winmine"
Select Run
Type "mspaint"
Select Run
Type "nslookup"
Select Run
Type "cmd"
Thursday, May 06, 2010
Retrieve Information on LDAP User
Tuesday, April 27, 2010
$HOME/.TTauthority not writable, auth entry not added
After being absent from the work site for an extended period, I had a little problem with the dt session. I was being blocked a dt session (automatically logged me out--tried 3x). I observed Tooltalk/dt session errors on the screen.
But I also observed others logging into the same box without incident. Intuitively, I suspected something was wrong with my environment, so I logged in via a remote terminal. Once in the box, I reviewed the /var/adm/messages file and noticed /usr/dt/bin/ttsession errors were associated with my username. The messages file also contained this telling message - $HOME/.TTauthority not writable, auth entry not added.
Hmmm…ownership was not mine. I changed the ownership to yours truly and everything worked like a champ.