Project

General

Profile

Manage core users » History » Version 17

Anonymous, 06/26/2012 02:20 PM

1 1 seezer
h1. Manage core users
2 1 seezer
3 7 seezer
h2. Versions >= 0.5:
4 1 seezer
5 7 seezer
quasselcore provides two command-line options:
6 7 seezer
* --add-user
7 7 seezer
>Starts an interactive session to add a new core user
8 7 seezer
* --change-userpass=[USERNAME]
9 7 seezer
>Starts an interactive session to change the password of the user identified by username
10 7 seezer
11 13 wesleystout
*Note for Ubuntu (10.10 and lower) and Debian users*
12 9 fuzzy76
If you install quasselcore via the default Ubuntu (or Debian) package then your config dir is in '/var/cache/quassel'.  
13 10 fuzzy76
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
14 8 smithbone
15 1 seezer
> <pre> sudo quasselcore --configdir=/var/cache/quassel --add-user </pre>
16 13 wesleystout
17 13 wesleystout
*Note for Ubuntu 11.04 Users*
18 13 wesleystout
If you install quasselcore via the default Ubuntu 11.04 package the config directory is now in '/var/lib/quassel'.
19 13 wesleystout
This means that you need to run quasselcore --add-user with --configdir=/var/lib/quassel and with permissions such that it can access that directory. Usually this means running it with sudo. So for adding a user the example would be
20 13 wesleystout
21 13 wesleystout
> <pre> sudo quasselcore --configdir=/var/lib/quassel --add-user </pre>
22 14 Dhraakellian
23 17 Anonymous
In case this still gives permission issues (recognized by the 'Core is currently not configured!' message), try:
24 17 Anonymous
> <pre>sudo -u quasselcore -s</pre> 
25 17 Anonymous
followed by 
26 17 Anonymous
> <pre>quasselcore -c /var/lib/quassel --add-user</pre>
27 17 Anonymous
28 14 Dhraakellian
*Note for openSUSE Users*
29 15 Dhraakellian
If you install quasselcore via the openSUSE package (at least from the KDE:Extra repositories), the config directory is in '/var/lib/quasselcore'.
30 14 Dhraakellian
This means that you need to run quasselcore --add-user with --configdir=/var/lib/quasselcore and with permissions such that it can access that directory. Usually this means running it as root or with sudo. So for adding a user the example would be
31 14 Dhraakellian
32 14 Dhraakellian
> <pre> sudo quasselcore --configdir=/var/lib/quasselcore --add-user </pre>
33 16 javier
34 16 javier
and for changing an user's password:
35 16 javier
36 16 javier
> <pre> quasselcore --change-userpass=someusername --configdir=/var/lib/quasselcore </pre>
37 16 javier
(run as root)