| Mobile | RSS

lynuxstuff.com

How to remove swap space

This how to is about how to remove swap space in linux
To reduce LVM 2 swap logical volume(/dev/VolGroup00/LogVol01) use the following steps

[ More ] June 22nd, 2011 | No Comments | Posted in OS Internals |
headerlogo

Allow non root users to run root programs

When a user starts a command, it runs with the permissions of that user. What if you want to allow them to run some commands with root permissions? You can, and that’s called suid.So  SUID permission makes a script to run as the user who is the owner of the script, rather than the user [...]

[ More ] June 22nd, 2011 | No Comments | Posted in Linux Security |
terminal

Change lowercase letters to uppercase

When you want to do text manipulation, you can use Sed and Awk. These 2 tools which come on most Linux distributions, will allow you to modify text files in many ways.

[ More ] June 22nd, 2011 | No Comments | Posted in Scripting & Automation |
tux-200x200

10 ways to make Linux boot faster

By Jack Wallen, TechRepublic | 2008/09/15 10:24:01 Linux rarely needs to be rebooted. But when it does, it’s often slow to boot. Fortunately, there are ways to speed things up.Some of these methods are not terribly difficult (although some, unfortunately, are). Let’s take a look. #1: Disable unnecessary services Depending upon the use of the [...]

[ More ] June 20th, 2011 | No Comments | Posted in OS Internals |
File-System

How to convert ext2 filesystem to ext3

To convert an ext2 filesystem to ext3,login as root and type the following command in terminal #/sbin/tune2fs -j <block device> A valid block device includes the following type of entries 1) .A mapped device -(a logical volume in a volume group) eg: /dev/mapper/VolGroup00-LogVol02 2) .A state device – A traditional storage volume eg: /dev/hdaX

[ More ] June 20th, 2011 | No Comments | Posted in OS Internals, Troubleshooting |
SSH

How to create a welcome banner for SSH logins

Open /etc/ssh/sshd_config using vi editor vi /etc/ssh/sshd_config Then uncomment the line #Banner /etc/motd save & exit Now create some banner text in /etc/motd like This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are [...]

[ More ] June 20th, 2011 | No Comments | Posted in Basic Setup, Linux Security |
Find out active ssh sessions

How to view active ssh sessions on your Server

By using lsof command,we can view active ssh connections on your server.So let’s find out how.
lsof command is used to list open files like disk files, pipes, network sockets and devices opened by all processes.

Related Posts Plugin for WordPress, Blogger...
[ More ] June 20th, 2011 | No Comments | Posted in Linux Security |