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, 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.
Wednesday, March 03, 2010
Microsoft Security Advisory --- F1 Key on Web
Saturday, February 27, 2010
Import and Enable the NFS Service
# svcs -a | grep nfs
# cd /var/svc/manifest/network
# svccfg -v import nfs/server.xml
# svcadm enable nfs/server
or
# svccfg -v import /var/svc/manifest/network/nfs/server.xml
# svcadm enable nfs/server
If you want to disable and delete a service, see below.
# svcadm disable network/nfs/server
# svccfg delete network/nfs/server
Monday, November 23, 2009
Issues With an Orphaned .attribute^ File
On the Windows side, the initial thought was that the folder was simply "hidden" via the attributes, which would be normal. However, the attributes for the folder didn't show the hidden option selected.
Recently, we performed an account migration activity on the Unix side. The culprit turn out to be an orphaned .attribute^ file on the Unix side. Apparently, this file's username and group was deleted prior to migration, and its state unexpectedly caused the directory's contents to be invisible to Windows-based viewers.
At any rate, we finally noticed the file with the ls -al command. The .attribute^ file was removed from the Unix side and viewing was back to normal on the Windows side.
Friday, October 23, 2009
ftpconfig - Setup Anonymous FTP
Here is the syntax.
# ftpconfig someftpdir
or
# ftpconfig -d someftpdir
If you have problems, you may have to check files in the /etc/ftpd directory. Hint: check the ftpaccess file
Friday, September 18, 2009
No Space Left on Device!
Friday, July 10, 2009
Troubleshooting Domain Issues with My SysAd Blog - Again
Here is another post I wrote a few months ago about a similar issue...