Manage core users » History » Version 11
Version 10 (fuzzy76, 04/19/2010 12:09 PM) → Version 11/25 (sph, 08/11/2010 05:31 PM)
h1. Manage core users
h2. Versions >= 0.5:
quasselcore provides two command-line options:
* --add-user
>Starts an interactive session to add a new core user
* --change-userpass=[USERNAME]
>Starts an interactive session to change the password of the user identified by username
*Note for Ubuntu and Debian users*
If you install quasselcore via the default Ubuntu (or Debian) package then your config dir is in '/var/cache/quassel'.
This means that you need to run quasselcore --add-user with --configdir=/var/cache/quassel and with permissions such that it can access that directory. Usually this means running it with sudo for Ubuntu or as root for Debian. So for adding a user the example would be
> <pre> sudo quasselcore --configdir=/var/cache/quassel --add-user </pre>
h2. Versions prior to 0.5:
+What you need:+
* "manageusers.py":http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py;hb=7082ea3159aaaea098b34c204d5123a3dca3753a http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py
* python 2.5 with sqlite support
* shell access on you core's host as the core's user
+Steps:+
* Download the script
@wget -O manageusers.py 'http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py;hb=7082ea3159aaaea098b34c204d5123a3dca3753a'@ "http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py"@
* Run the script
@python manageusers.py@
+The above command will only show you the parameters:+
@python manageusers.py add foo bar@
>This will add a user 'foo' with password 'bar' to your core.
@python manageusers.py changepass foo bar@
>This will change the password of existing user 'foo' to 'bar'
h2. Versions >= 0.5:
quasselcore provides two command-line options:
* --add-user
>Starts an interactive session to add a new core user
* --change-userpass=[USERNAME]
>Starts an interactive session to change the password of the user identified by username
*Note for Ubuntu and Debian users*
If you install quasselcore via the default Ubuntu (or Debian) package then your config dir is in '/var/cache/quassel'.
This means that you need to run quasselcore --add-user with --configdir=/var/cache/quassel and with permissions such that it can access that directory. Usually this means running it with sudo for Ubuntu or as root for Debian. So for adding a user the example would be
> <pre> sudo quasselcore --configdir=/var/cache/quassel --add-user </pre>
h2. Versions prior to 0.5:
+What you need:+
* "manageusers.py":http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py;hb=7082ea3159aaaea098b34c204d5123a3dca3753a http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py
* python 2.5 with sqlite support
* shell access on you core's host as the core's user
+Steps:+
* Download the script
@wget -O manageusers.py 'http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py;hb=7082ea3159aaaea098b34c204d5123a3dca3753a'@ "http://git.quassel-irc.org/?p=quassel.git;a=blob_plain;f=scripts/manageusers.py"@
* Run the script
@python manageusers.py@
+The above command will only show you the parameters:+
@python manageusers.py add foo bar@
>This will add a user 'foo' with password 'bar' to your core.
@python manageusers.py changepass foo bar@
>This will change the password of existing user 'foo' to 'bar'