LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

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.

Code:
#!/bin/bash

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

Differencies between OpenOffice.org under Windows and Linux

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

applies to OpenOffice.org, Linux, Windows, Python, XML

Recently I try to develop modules for already existing, big project using Python and OpenOffice.org. 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
...
Member
Posted in Uncategorized
Views 2094 Comments 0 dr_agon is offline
Old

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 howtoforge.com 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...
Member
Posted in Uncategorized
Views 3356 Comments 0 jkzfixme is offline
Old

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 www.slackbuilds.org

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

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

Description:
Searches for files


#! /bin/bash

clear
echo "============================="
echo "=========SEARCHTOOL=========="
echo...
Member
Posted in Uncategorized
Views 1505 Comments 4 baig is offline

  



All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement

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