LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Require Password Change script v2.

Posted 12-16-2008 at 06:11 PM by camh
Updated 12-16-2008 at 06:13 PM by camh (changed title to be more accurate)

Here is the second version of my required password change script. Added automated salt and password generation functionality, and removed the use of temp files.

If anyone knows how this can be optimized or improved, please comment. I'm still learning bash scripting and any help is appreciated.

Code:
#!/bin/bash

#Defines

SALT_CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
SALT_LENGTH="2"
PW_CHARS="1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()."
...
Member
Posted in Uncategorized
Views 1427 Comments 0 camh is offline
Old

Xbox 360, the reason I will never buy another Xbox * ever again

Posted 12-16-2008 at 02:13 PM by H_TeXMeX_H
Updated 12-16-2008 at 02:28 PM by H_TeXMeX_H (moved to hardware section)

First, let me start out by saying that I should have never bought an Xbox (regular not 360). I think M$ designs these so that they last only as much as the factory warranty, then they break. This is what happened with my first Xbox, which I got for my birthday long ago. When it broke and I realized it was out of warranty, it pissed me off, so I took it apart. What I saw was that one of the capacitors had exploded. So, for my next birthday, guess what I got, another Xbox.

Some time...
LQ Guru
Posted in Hardware
Views 7115 Comments 2 H_TeXMeX_H is offline
Old

Part 2, php and setting up Apache2

Posted 12-16-2008 at 08:35 AM by jjthomas
Updated 12-16-2008 at 10:34 PM by jjthomas

Create test.php:
Code:
<?php
phpinfo();
?>
Test with localhost/test.php.

Does not work. At this point I simply edit my /etc/httpd/httpd.conf file, after backing it up, of course.

My first item is to clean out all the comments. Since most of the work I do now is by an ssh shell (too many computers, not enough monitors) I can have one session open for editing and another session open for reading the comments, looking at man pages,...
Member
Views 1738 Comments 0 jjthomas is offline
Old

Coding theory :: Application of fields and groups

Posted 12-16-2008 at 05:31 AM by Kakarot_Rathish

i would like to know the application of fields and gropus in CODING THEORY

can anyone help me out here plz
Member
Posted in Uncategorized
Views 939 Comments 0 Kakarot_Rathish is offline
Old

Silly trick to keep cleartext passwords off your hard-drive...

Posted 12-15-2008 at 03:08 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 12-15-2008 at 03:19 PM by rocket357

I "inherited" a password list for the servers I maintain. It's huge. I don't think I could memorize them all if I tried. Seriously, 200+ something machines, each with a root or administrator password, postgres or sa password, and user passwords for standard services? I'd do good to remember the passwords for *one* machine...

So I get this bright idea...I certainly don't want to store them electronically in plaintext without some safety mechanism...my desktop machine...
Member
Posted in Uncategorized
Views 2120 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 01:16 AM.

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
Open Source Consulting | Domain Registration