jump to navigation

Comment posted on Network NUTS YouTube channel April 11, 2012

Posted by networknuts in linux training in india, Red Hat, rhce, rhce training, RHCSS.
Tags: , , , ,
add a comment

What a lovely comment posted on Network NUTS YouTube channel.

comment on networknuts youtube channel.

comment on networknuts youtube channel.

Turbo Charged SSH!!! June 1, 2010

Posted by networknuts in Uncategorized.
Tags: , , , , , , , , , , , , , ,
add a comment

Video showing how to make SSH work real FAST.

For more interesting post, tips and tricks visit — www.networknuts.net

God Bless

Making Sudo work Smart!! – sudo without password prompt May 25, 2010

Posted by networknuts in Uncategorized.
Tags: , , , , , , , , , , , , , ,
1 comment so far

This is a Video that shows how to configure sudo in such a manner that it should not prompt the user to enter the password again.

For a text version of this post, please visit

www.networknuts.net

God Bless

How to protect your important file from accidental deletion, in Linux!! A Video May 9, 2010

Posted by networknuts in Uncategorized.
Tags: , , , , , , , , , , , , , , , , ,
add a comment

Video by Network NUTS, showing how to use “chattr” command to secure your important file from being deleted accidentaly.

God Bless

Alok Srivastava

Hacking password protected “single user” mode in Linux May 2, 2010

Posted by networknuts in Uncategorized.
Tags: , , , , , , , , , , , , , ,
1 comment so far

Single user mode can be protected by appending this line in /etc/inittab

su:S:wait:/sbin/nologin

if this line is present in the /etc/inittab – the machine will ask for root p@$$word

Hack

while booting p@$$ this kernel parameter –

init=/bin/bash

by p@$$ing this parameter, I am saying to the kernel, “rather than starting /sbin/init and proceed with the usual /etc/rc.d/* procedure, just simply give us a shell”. That means:

NO p@$$word checks
NO filesystem checks
NO startup environment

…as no filesystem checks has been made, the filesystem will be in read-only mode.

Now give this command, to make root filesystem writable.

mount -o remount, rw /

Once the p@$$word is reset or done anyother thing you wanted to do, DO NOT REBOOT.

mount -o remount, ro /

NOW PRESS THE RESET BUTTON

You can also see the video of this post

God Bless

Alok Srivastava

Linux Bash Shell Script to clear logs automatically – VIDEO April 25, 2010

Posted by networknuts in Uncategorized.
Tags: , , , , , , , , , , , , ,
add a comment

Video by www.networknuts.net, showing how to create a linux bash shell script to clear logs automatically and carefully.

God Bless.

Split large file into smaller files – Linux April 10, 2010

Posted by networknuts in 1.
Tags: , , , , , , , , , , , , , , , , ,
add a comment

Here is a small trick to split a big iso file (or any other big file) into smaller files of your desired size.

Use the SPLIT tool that comes with your OS.

Suppose I have a big iso file name “bigfile.iso” of size more than 3 GB and I want to split in into smaller iso files of size 1GB.

Here is how to do it:

split --byte=1024m bigfile.iso smallfile_

what this command will do?

It will actually split the bigfile.iso file into smaller files of size 1GB having names – smallfile_aa, smallfile_ab and so on…

So just enjoy the split, now.

And remember you can always use the CAT command to join them again:

cat smallfile_a* > newbigfile.iso

PS : Check out the video of this post at -http://www.youtube.com/watch?v=7Gv1FuLUH1o


God Bless.

Apache Load Balancing VIDEO using “pound” April 5, 2010

Posted by networknuts in 1.
Tags: , , , , , , , , , , , , , ,
add a comment

Check the apache load balancing done using “pound” video on – You Tube.

http://www.youtube.com/watch?v=-WuW27hpHWc

God Bless.

Configuring YUM server for automatic notification to clients March 31, 2010

Posted by networknuts in 1.
Tags: , , , , , , , , , , , , , , , ,
add a comment

We have a situation. We have 100+ client machines in our network and whenever some new package is available on YUM, I want all the clients to get updated for the new package via email so that they can use the package, if they need.

How to configure YUM to send email for updates available on server.

STEP #1 – Edit /etc/yum/yum-updatesd.conf

STEP #2 – Edit / Add these lines:

emit_via = email
email_to = staff@yourdomain.com
email_from = yumserveradmin@yumserver.example.com

STEP #3 - Save and Restart the service.

service yum-updatesd restart
chkconfig yum-updatesd on

So now your YUM server will be sending a email to staff user (it can be aliased in your MTA configuration) whenever a new package is available.

Check the video of this post on http://www.youtube.com/user/networknutsdotnet

God Bless.

Follow

Get every new post delivered to your Inbox.

Join 484 other followers