User login

Changents

How to add users to or edit user passwords for a Subversion repository

add new users to an svn repository:

sudo vi svnrepo/conf/passwd

Resolution

See what Subversion repository you are drawing from with vi .svn/entries

See from what repository checked out subversion code is from by looking at the entries file in a dot SVN folder:

ben@server:/var/www/drupal-5-live/sites/democraticmedia.ca$ vi .svn/entries

Here is the key line, "https://dev.grassrootsconnection.org/svn/drupal/anderson/trunk/democraticmedia.ca," from this output:

8

Creating a random password... the Drupal way

Lesson of the day: don't reinvent Drupal functions.

Making a quick random number

Not truly random in some cosmic computer science sense, but good enough for non-mission critical (or rather, nothing for anyone to exploit the not-complete-randomness) uses.

http://www.php-scripts.com/php_diary/122799.php3

<?php
srand(time());
$random = (rand()%9);
?>

Resolution

Syndicate content