Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Running scripts after a reboot for non-root users

Debian

Running scripts after a reboot for non-root users

Post date: April 5, 2006, 01:04 Category: System Views: 2403 Comments
Tutorial quote: There is an alternative way of adding entries to your crontab file, using shortcuts. The shortcuts allow you to make entries that will match at particular times.
Unix+clones

How to scan your Linux-Distro for Root Kits

Post date: May 19, 2006, 18:05 Category: Security Views: 3215 Comments
Tutorial quote: Do you suspect that you have a compromised system ?
Check now for root kits that the intruder may have installed !!!

So... What in the hell is a root kit ???
A root kit is a collection of programs that intruders often install after they have compromised the root account of a system.
These programs will help the intruders clean up their tracks, as well as provide access back into the system.
Root kits will sometimes leave processes running so that the intruder can come back easily and without the system administrator's knowledge !

Solution....
Scripts like chkrootkit will do the job for you automatically.
Debian

Running network services as a non-root user

Post date: April 20, 2006, 10:04 Category: Security Views: 3216 Comments
Tutorial quote: There are many times when it is convenient to allow non-root users to run services, or daemons, which bind to "privileged ports". There are several approaches to this problem each with its own set of pros and cons. Read on for a brief look at the most common approaches.
OpenSUSE

Write your own kernel module and insert it into running kernel

Post date: January 12, 2009, 08:01 Category: Programming Views: 4512 Comments
Tutorial quote: So, you want to write a kernel module. You know C, you've written a few normal programs to run as processes, and now you want to get to where the real action is, to where a single wild pointer can wipe out your file system and a core dump means a reboot.

kernel Modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. For example, one type of module is the device driver, which allows the kernel to access hardware connected to the system.
Linux

Breaking the SHELL

Post date: May 29, 2005, 01:05 Category: Programming Views: 3235 Comments
Tutorial quote: Shell scripts are a part and parcel of almost all software applications running on UNIX, and the use simply spans from a trivial script, managing automatic database backup to bunch of scripts collaboratively doing complex operation on regular expressions.

Though it's a mere design decision to partition modules between scripts and programming language, but I personally feel that they sometimes come very handy saving lot of time and lines of code, when compared to implementing the same functionality in the programming language in context.And in fact with some exceptions, complexity of a shell script can scale to that of codes in C language. Add to this the power of all those numerous UNIX commands, and just think through, what can be achieved by shell scripts.
Here I will discuss few topics mainly relevant to intermediate shell programmers
Linux

MySQL Database Tutorials

Post date: January 31, 2011, 07:01 Category: Software Views: 3565 Comments
Tutorial quote: Many people tell me they arenít very fond of scripts, because the install frightens them a bit. And itís true: creating a database, importing tables, your siteís root pathÖ if you donít know what youíre doing, this looks pretty complicated.
Luckily, it is not, once you get the hang of it.
CentOS

Serving CGI Scripts With Nginx On CentOS 6.0

Post date: October 23, 2011, 09:10 Category: Miscellaneous Views: 19901 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.0. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.
Debian

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Post date: October 3, 2011, 06:10 Category: Miscellaneous Views: 4385 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.
Ubuntu

Disable unnecessary services in Ubuntu - Boot-Up Manager

Post date: November 17, 2008, 11:11 Category: Optimizing Views: 8945 Comments
Tutorial quote: The startup scripts located in /etc/init.d are part of the bootup sequence of every Debian-like distro. Very often Ubuntu's documentation and guides have suggested - in order to deactivate init scripts - to change the permissions of the scripts in /etc/init.d, making them non-executable.
FreeBSD

Restoring a lost root password

Post date: August 26, 2005, 18:08 Category: System Views: 3249 Comments
Tutorial quote: For some reason you have forgotten your root password
After you stopped banging your head against the wall, this is how you can fix it.
Web-based applications and online marketing solutions - LumoLink