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 4, 2006, 21:04 Category: System Views: 15
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.
Debian Running network services as a non-root user
Post date: April 20, 2006, 06:04 Category: Security Views: 14
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.
Linux Breaking the SHELL
Post date: May 28, 2005, 21:05 Category: Programming Views: 85
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
Unix+clones CGI Programming on the World Wide Web
Post date: December 12, 2005, 12:12 Category: Programming Views: 65
Tutorial quote: The Common Gateway Interface (CGI) emerged as the first way to present dynamically generated information on the World Wide Web. CGI allows the computer to generate Web pages instantly at the user's request rather than being written by someone in advance. And at the time of this writing, it remains the only stable and well-understood method for creating such pages. Java presents problems that have not yet been solved. Other products are currently just in the announcement stage.

CGI is fun. You can get a kick out of writing scripts that perform tricks for you, and the users enjoy the spice the scripts add to your Web pages. But CGI has a serious side too: It lets the Internet offer the kind of interactive, user-driven applications that modern computer users have come to expect. CGI opens up an entire class of modern applications to the Web.
Unix+clones Writing Shell Scripts
Post date: April 12, 2005, 22:04 Category: Programming Views: 41
Tutorial quote: With the thousands of commands available for the command line user, how can you remember them all? The answer is, you don't. The real power of the computer is its ability to do the work for you. To get it to do that, we use the power of the shell to automate things. We write scripts.
FreeBSD Restoring a lost root password
Post date: August 26, 2005, 14:08 Category: System Views: 116
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.
Gentoo Enterprise Volume Management System Mini How-To
Post date: April 13, 2005, 16:04 Category: System Views: 205
Tutorial quote: Here is a rough write-up on how I installed Gentoo 1.4_rc1 on EVMS, with the exception of the root partition. If you choose so, see the EVMS Howto for instructions on how to mount your root file system on an EVMS volume. I felt the hassle of dealing with a EVMS (or LVM, for that matter) root outweighs its advantages.

This is a very basic setup I used for my laptop. I only needed it so I don't have to worry about getting the partition sizes right from the beginning and to be able to adjust them with ease in the future. I've been using LVM with success but I couldn't find a way to resize the volume group itself. This, the fact that afaik there is no support for LVM in kernel 2.5.x and a new laptop needing a fresh installation made me try EVMS.
Gentoo Using extended attributes to better protect files
Post date: August 18, 2005, 14:08 Category: System Views: 84
Tutorial quote: How many times have you accidentally overwritten a configuration file during an etc-update that you had customized? I had been aware of extended attributes for a long while now, but I had never taken the time to actually use them. The extended attribute that I am mostly interested with is the immutable attribute. This attribute, which can only be set by root, prevents a file from be changed or deleted, even by root.
Unix+clones Automating Perl Database Applications
Post date: May 1, 2005, 13:05 Category: Programming Views: 80
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.
Linux Howto install the base Linux system onto a USB thumbdrive with the root partition encrypted
Post date: April 20, 2006, 08:04 Category: System Views: 23
Tutorial quote: This howto will explain how to install a very basesystem onto a USB thumbdrive with the root partition encrypted. It includes support for cryptsetup-luks, and udev.