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

Search results for Automating the Login Script

Linux

Automating the Login Script

Post date: April 17, 2005, 10:04 Category: Miscellaneous Views: 2502 Comments
Tutorial quote: In a perfect world, you could spend a few weeks creating a system and the result would be a system that never required manual maintenance or modifications. Whether this ideal will ever be achieved is debatable, but it definitely won't happen in the near future. In the meantime, we still have to do things manually, even if only once in a while. When I must do things manually, I'm not usually happy about it. In fact, it usually means that there has been an emergency, so other people aren't happy about it either. In times like this, it is nice to have a consistent and efficient user interface on every machine. The information and examples presented in this article assume that you are using the bash shell. However, you can modify all of the scripts so that they work in other shells. In some cases, they might even work unmodified (like in the standard Bourne Shell [sh]). Other shells will also work, but they might have different methods for changing the prompt and creating command aliases. The principles in this article should be relatively easy to adapt to the shell of your choice.
OpenSUSE

Preventing Brute Force Attacks With Fail2ban On OpenSUSE 10.3

Post date: October 15, 2007, 06:10 Category: Security Views: 5978 Comments
Tutorial quote: In this article I will show how to install and configure fail2ban on an OpenSUSE 10.3 system. Fail2ban is a tool that observes login attempts to various services, e.g. SSH, FTP, SMTP, Apache, etc., and if it finds failed login attempts again and again from the same IP address or host, fail2ban stops further login attempts from that IP address/host by blocking it with an iptables firewall rule.
Debian

Preventing Brute Force Attacks With Fail2ban On Debian Etch

Post date: May 1, 2007, 21:05 Category: Security Views: 4232 Comments
Tutorial quote: In this article I will show how to install and configure fail2ban on a Debian Etch system. Fail2ban is a tool that observes login attempts to various services, e.g. SSH, FTP, SMTP, Apache, etc., and if it finds failed login attempts again and again from the same IP address or host, fail2ban stops further login attempts from that IP address/host by blocking it with an iptables firewall rule.
Debian

Preventing Brute Force Attacks With BlockHosts On Debian Etch

Post date: September 30, 2007, 09:09 Category: Security Views: 4056 Comments
Tutorial quote: In this article I will show how to install and configure BlockHosts on a Debian Etch system. BlockHosts is a Python tool that observes login attempts to various services, e.g. SSH, FTP, etc., and if it finds failed login attempts again and again from the same IP address or host, it stops further login attempts from that IP address/host. By default, BlockHosts supports services that use TCP_WRAPPERS, such as SSH, i.e. services, that use /etc/hosts.allow or /etc/hosts.deny, but it can also block other services using iproute or iptables.
OpenSUSE

openSUSE Network Installation/Upgrade Without CD/DVD

Post date: January 12, 2009, 08:01 Category: Installing Views: 2719 Comments
Tutorial quote: Installing or upgrading the opensuse is fairly easy using CD, or net boot CD but many times it happen the we need to install or upgrade the OS using these media, to solve this problem we got a script called setupgrubfornfsinstall

setupgrubfornfsinstall is a dialog based shell script to prepare remote network installations. The script downloads kernel and initrd of the distribution and creates a boot loader entry for them.
Unix+clones

Automating Perl Database Applications

Post date: May 1, 2005, 17:05 Category: Programming Views: 3178 Comments
Tutorial quote: This article describes how Perl is used to generate Perl CGI code using the multi-platform CGIScripter application. The resulting output code automates SQL table creation commands (in this example, for a MySQL database), HTML pages and Perl code. Web security issues, data validation and image handling functionality are incorporated into the resulting Perl code. By automating the development of Perl CGI scripts, even entry-level developers can create CGI scripts that contain most of the commonly requested features in a short period of time--without manually writing any code.
Debian

Giving users a home directory automatically

Post date: June 16, 2006, 21:06 Category: System Views: 2873 Comments
Tutorial quote: If you are using LDAP or NIS to manage users you might discover users having problems because they don't have a home directory on each machine they can connect to. Thankfully there is a simple solution for creating home directories upon demand for users.

The Pluggable Authentication Modules library, or PAM, is a collection of shared libraries which control how users login to systems. There are a number of modules installed which can be used to restrict user access to systems in different ways. There are also several utility modules which can be used to customise login behaviour.
Unix+clones

A web server in a shell script

Post date: March 14, 2006, 08:03 Category: Programming Views: 16516 Comments
Tutorial quote: Suppose you want to experiment a little with web pages and CGI's, but you don't want the hassle of installing the full Apache package. This quick and dirty shell script could just be what you need.

Put simply, a web server is an application that sends local text files over the network to the clients that request them. If you let another program (for example inetd) deal with the network part, the web server could be reduced to a mere cat "$filename" to stdout. Of course, the difficult part would be to extract that filename out of the HTTP request string: nothing that a Bash script cannot easily do!
Linux

How To Make Desktop Applications Start Automatically After Login (GNOME)

Post date: November 9, 2007, 11:11 Category: Desktop Views: 3157 Comments
Tutorial quote: How To Make Desktop Applications Start Automatically After Login (GNOME)

You probably know this: you power on your machine, and immediately after you have logged in you manually start your two or three favourite applications. Why not have the system start these applications for you automatically? This short guide shows how to accomplish this under GNOME.
Debian

Manipulating the windows upon your desktop

Post date: January 19, 2006, 13:01 Category: Desktop Views: 2673 Comments
Tutorial quote: If you're like me you'll most likely use a wide variety of desktop applications, and spend a lot of time setting up your desktop first thing in the afternoon when you login. Minimising some applications, setting others up to be visible upon all virtual desktops, etc. Even if you have a basic window manager you can automate this activity using Devil's Pie.

Devil's Pie is a simple utility, inspired by the Sawfish's matched windows option, which allows you to conduct actions upon desktop windows. Using it is a simple matter of creating a configuration file and starting the program when you login.
Web-based applications and online marketing solutions - LumoLink