Forum Moderators: bakedjake

Message Too Old, No Replies

Cron Job to make Password formula.

         

duckxtales

7:41 am on Jan 26, 2006 (gmt 0)

10+ Year Member



Hi,

I'm a complete noob at linux and i want to make my sites more secure.

I am trying to create a cron job that can change my password every day with a set password formula.

For example:

lets say my password on Jan 01, 2006 is: 01ABC

Now on Jan 02 it will be: 02ABC

Now on Jan 03 it will be: 03ABC

etc....

How can you make a cron job for this?

thx

sasha pachev

8:47 pm on Jan 31, 2006 (gmt 0)



Generate a file containing something like this:

username:password

for each user. Then do

cat filename ¦ chpasswd

SeanW

8:09 pm on Feb 3, 2006 (gmt 0)

10+ Year Member



Use one time passwords like the S/KEY package. Once a password has been used, it's good no longer. An authenticated user can generate a list of N passwords to carry in their wallet.

Sean