≡ Menu

Linux

AppArmor is a Mandatory Access Control or MAC system. It uses Linux Security Module to restrict programs. AppArmor sets up a collection of default application profiles to protect Linux services. You can also protect any other applications running on your system by creating profile files yourself. In Ubuntu, AppArmor is installed and enabled by default. [...]

{ 2 comments }

Samba is used by sysadmin to overcome the problem of interoperability in a mixed environment where you have both Linux and Windows. It provides a common platform for both Windows and Linux to have a common sharing space. Domain controller is a service which is used for centralized administration of users, groups or any objects [...]

{ 14 comments }

How to Use Linux Shutdown and Reboot Command with Examples

This tutorial explains various command line options available for the Linux shutdown and reboot commands. Linux shutdown command options Syntax: shutdown [OPTION]… TIME [MESSAGE] From the syntax we see that besides OPTIONS and TIME, there is a MESSAGE that can be produced on the command line through this command. Please note that you need to [...]

{ 15 comments }

GDB Breakpoints and Watchpoints using awatch rwatch Examples

In this tutorial we’ll cover couple of advanced GDB functions including conditional breakpoints, and watchpoints. We’ve also used a simple C program as an example to explain these GDB debugger concepts. GDB Conditional Breakpoints A breakpoint, brakes everytime your program reaches a specific place. You can also specify a condition for breakpoints. A condition is [...]

{ 8 comments }

USB Broadband: How to Connect USB Modem Devices on Linux

Most of the usb dongle in market today comes with the drivers and application to use it in a managed way. The setup of this application is stored in its inbuilt memory. For windows system it autoruns and prompts to install the setup as soon as you plug your USB dongle. But, that is not [...]

{ 5 comments }

When you install PostgreSQL, by default connection to the database using TCP/IP is not allowed. When you try to connect from a client to a remote PostgreSQL database using psql command, you might get “psql: could not connect to server: Connection refused” error message. In the following example, from a client machine, we are trying [...]

{ 7 comments }

Hands-on Linux Sysadmin Training Workshop in Los Angeles

I’ll be conducting a hands-on workshop on Linux sysadmin. This will be an one day event with focus on hands-on training. In this all day workshop, you’ll be working on several lab exercises on a Linux system. This workshop is for newbies or intermediate users of Linux who would like to become proficient in Linux [...]

{ 0 comments }

If you are a newbie in Linux system administration, or an experienced Linux power user, who does typical sysadmin tasks by yourself on your system, you’ll definitely find few books from this list helpful to add to your library. UNIX and Linux System Administration Handbook, by Evi Nemeth, Garth Snyder, Trent R. Hein, Ben Whaley. [...]

{ 9 comments }