Review your favorite Linux distribution.
Go Back > Blogs
User Name



Script to require password change at next login

Posted 12-02-2008 at 06:11 PM by camh

Hi all,

I wrote up this little script to force a password change to a user account on next login. I've found it helpful when doing user administration, since I've found that users generally don't change their passwords unless you force it, and linux doesn't have a 'built-in' script to do so.


if [ "$(whoami)" != 'root' ]; then
   echo "This program must be run as root"
   exit 1;
 elif [ -z $1 ]; then
Posted in Uncategorized
Views 1521 Comments 0 camh is offline

Differencies between under Windows and Linux

Posted 12-02-2008 at 04:53 PM by dr_agon

applies to, Linux, Windows, Python, XML

Recently I try to develop modules for already existing, big project using Python and The application is meant to work both under Linux and Windows. Unfortunately, it is not easy.
  1. Python-UNO bridge to OpenOffice, which is part of OO suite, is different. Under Linux it works flawlessly with the fairly new Python v. 2.5. Under Windows it works only with supplied Python v. 2.3.4. It wouldn't be so bad if recent wxWidgets
Posted in Uncategorized
Views 2196 Comments 0 dr_agon is offline

Final touches on an Ubuntu 8.10 LAMP server Part I

Posted 12-02-2008 at 04:03 PM by jkzfixme

Since my first post went down relatively painlessly I figured why not keep them rolling. One of the premiere things I use Linux for in a business environment is for web hosting. There are a ton of tutorials out there that get pretty in depth, such as "the perfect server" series on so I wont really get into details with installation. That being said I feel that there are a lot of odds and end that make a server more easily manageable, and I despise ISPconfig. One of the most...
Posted in Uncategorized
Views 3406 Comments 0 jkzfixme is offline

Video Encoding x264

Posted 12-02-2008 at 01:44 PM by sluckz
Updated 12-02-2008 at 04:56 PM by sluckz

I have been running lenny on a p4 box. I want to be able to encode using avidemux and x264. Apparently lenny and their derivatives have some dependency issues when trying to setup an encoding box using the latest apps, mainly mplayer, avidemux and x264. so if i am going to have to compile a bunch of crap anyway i will use Slackware and rely heavily on

i have
  • installed Slackware 12.1
  • updated Slackware
  • added dri intel i810
  • fixed scroll
LQ Newbie
Posted in Uncategorized
Views 1963 Comments 0 sluckz is offline

My Journy of Shell Scripting

Posted 12-02-2008 at 04:37 AM by baig
Updated 12-03-2008 at 04:23 PM by baig

This is my first blog ever to be published. Now and own wards I would be simply posting my self written scripts for your comments.. Because, without your kind correction It would not be possible to write effective scripts..

Here is my first script

Searches for files

#! /bin/bash

echo "============================="
echo "=========SEARCHTOOL=========="
Posted in Uncategorized
Views 1573 Comments 4 baig is offline


All times are GMT -5. The time now is 10:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration