HP-UX Unix

BIND DNS: Disable Dynamic Updates

by Vivek Gite on December 14, 2009 · 1 comment

BIND9 dynamic updates allow remote servers to add, delete, or modify any entries in my zone file. How do I disable dynamic updates under BIND 9 (named) for any zone?

{ 1 comment }

Ksh Read a File Line By Line ( UNIX Scripting )

by Vivek Gite on November 20, 2009 · 8 comments

How do I read a file line by line using KSH shell scripting under UNIX like operating systems?

{ 8 comments }

How do I restrict access to a given command for instance /opt/apps/start, to authorized users only under Linux / UNIX / BSD operating system?

{ 4 comments }

Firefox: Add a Trusted CA

by Vivek Gite on August 31, 2009 · 6 comments

The default Firefox comes with certificates from well-known commercial CAs. My ISP is also CA and Firefox cannot verified it because the CA is not recognized. How do I force Firefox to accept my ISPs certificate?

{ 6 comments }

UNIX Get An Alert When Disk Is Full

by Vivek Gite on August 13, 2009 · 24 comments

I want to get an alert when my disk is full under UNIX and Mac OS X? How do I set a a specified threshold and run the script via cron?

{ 24 comments }

Shell Script While Loop Examples

by Vivek Gite on July 16, 2009 · 10 comments

Can you provide me a while loop control flow statement shell script syntax and example that allows code to be executed repeatedly based on a given boolean condition?

{ 10 comments }

I‘m not told to use the root user to perform activities that do not require it. I’ve configured sudo for myself and for other web developers so that they can restart MySQL or Apache web server. How do I send email when sudo run by one of my user? How do I keep track of user login done via sudo command?

{ 10 comments }