summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Get VT from X display if no controlling ttyRay Strode2009-07-201-0/+72
| | | | | | | | | In some cases a controlling tty won't be able available to peek at to find the VT of the X display. In those cases, we fall back to looking at the XFree86_VT property. We can do this because we know the display is a local display since we've already gotten peer credentials from its socket.
* parse gecos field to get real nameWilliam Jon McCann2009-02-111-2/+13
|
* fix use of unix-user as intWilliam Jon McCann2008-07-221-6/+6
|
* fix location of scripts againWilliam Jon McCann2008-07-211-1/+1
|
* export login session id to the busWilliam Jon McCann2008-05-051-2/+7
|
* oops one more placeWilliam Jon McCann2008-04-181-1/+1
|
* install scripts into $(prefix)/lib instead of $libdirWilliam Jon McCann2008-04-183-3/+3
| | | | We don't want scripts going into lib64...
* initial login session id supportWilliam Jon McCann2008-04-031-0/+10
| | | | | | | | Linux audit session id support. Still TODO: * determine if session id should be hidden * export to bus * add to event log * figure out how to add it to non-generated sessions
* display uid as unix-user to match apiWilliam Jon McCann2008-02-291-1/+1
|
* don't include paths.h on systems that don't have itWilliam Jon McCann2008-02-191-0/+5
|
* update for release0.2.9William Jon McCann2008-02-121-1/+1
|
* add a ck-launch-session toolWilliam Jon McCann2008-02-113-0/+99
| | | | This tool opens a session with ConsoleKit and runs a command in it.
* don't set the session-type to the command nameWilliam Jon McCann2008-02-111-6/+0
|
* update for release0.2.8William Jon McCann2008-02-111-0/+2
|
* add tools to log restart and stop eventsWilliam Jon McCann2008-02-113-0/+368
| | | | | This should probably be used by init instead of logging the event from CK.
* when a parsing error occurs don't return an empty eventWilliam Jon McCann2008-02-011-6/+6
|
* update gitignore filesWilliam Jon McCann2008-01-291-1/+3
|
* add a helper to write a system start record to the CK historyWilliam Jon McCann2008-01-292-0/+187
|
* add support for logging start/stop/restartWilliam Jon McCann2008-01-291-156/+288
| | | | Also enable reporting this information with ck-history.
* allow session type filtering for all report formatsWilliam Jon McCann2008-01-281-9/+22
|
* make polkit optional and use RBAC on SolarisBrian Cameron2008-01-282-20/+2
| | | | | | | | | | | | | | | | This patch makes polkit an optional dependency. If present it builds with it. If not, polkit support is disabled. This patch also adds a --enable-rbac-shutdown=<key> option. If set, then ConsoleKit will allow shutdown/reboot if the user has the RBAC key authorization defined. For example, since the GDM GUI program runs as the "gdm" user, setting the key for the "gdm" user allows the login program to shutdown and reboot via ConsoleKit. Also this patch modifies the tools/solaris/ck-system-restart and tools/solaris/ck-system-stop scripts to call "/sbin/init 6" and "/sbin/init 5", which are the right commands for Solaris.
* add session-type filtering to ck-historyWilliam Jon McCann2008-01-281-8/+14
|
* history should log to /var/log not /var/runWilliam Jon McCann2008-01-231-1/+1
|
* initial stop/restart supportWilliam Jon McCann2008-01-2210-16/+186
| | | | | | Add Stop and Restart methods to the Manager object. We'll rename the Manager object to System in the near future. Use libpolkit to determine authorization.
* add support for reporting from logrotated filesWilliam Jon McCann2007-10-222-12/+122
|
* add a basic --frequent reportWilliam Jon McCann2007-10-221-0/+109
|
* add last mode, filtering by user/seat; shorten logged idsWilliam Jon McCann2007-10-211-11/+166
|
* check for oldest being nullWilliam Jon McCann2007-10-191-2/+4
|
* rename --last to --last-compatWilliam Jon McCann2007-10-191-3/+3
|
* a few fixes for last patchWilliam Jon McCann2007-10-191-4/+25
|
* add a last compatible outout format to ck-historyWilliam Jon McCann2007-10-191-6/+169
|
* add a basic ck-history commandWilliam Jon McCann2007-10-173-29/+196
| | | | | Refactor some event logging code to share with ck-history. At the moment the command only prints the events.
* a few fixes for peer cred stuffWilliam Jon McCann2007-08-172-8/+9
|
* move peercred stuff into sysdeps. add solaris support.William Jon McCann2007-08-162-52/+13
|
* move all proc stuff into ck-sysdepsWilliam Jon McCann2007-08-163-30/+30
|
* move tools out of linux subdirectory since they apparently work on solarisWilliam Jon McCann2007-08-146-32/+39
|
* make a lt library for proc stuffWilliam Jon McCann2007-08-141-4/+3
|
* Add --display option to tool.William Jon McCann2007-07-201-4/+18
|
* Add new helper for getting tty from DISPLAYWilliam Jon McCann2007-07-182-0/+149
|
* use xlib directly instead of via gdkWilliam Jon McCann2007-03-261-7/+32
|
* deprecate the user properties and add unix-user propertiesWilliam Jon McCann2007-03-132-2/+2
| | | | | Also added deprecated notes to the docs. New code should be using GetUnixUser instead of GetUser etc.
* update all .gitignore filesWilliam Jon McCann2007-03-082-1/+10
|
* rename host-name to remote-host-name to make it more intuitiveWilliam Jon McCann2007-03-052-12/+12
|
* add x11-display-device to ck-list-sessionsWilliam Jon McCann2007-03-051-6/+22
|
* add x11-display-device attributeWilliam Jon McCann2007-03-051-8/+21
| | | | | | In certain cases it is necessary to distinguish the display-device (tty of session leader) from the x11-display-device (tty of xorg process).
* use an async job to collect session infoWilliam Jon McCann2007-03-051-2/+9
| | | | | Use an async helper job to collect session info for the OpenSession() method.
* add linux backends for collecting session informationWilliam Jon McCann2007-03-023-1/+487
| | | | | These tools will be used to generate and verify the parameters used to open a session.
* add framework for backend toolsWilliam Jon McCann2007-02-282-0/+41
| | | | System dependent tools will be built in subdirectories under tools.
* install the list-sessions tool as ck-list-sessionsWilliam Jon McCann2007-02-271-4/+4
|
* rename idle methods and signal to indicate they are hintsWilliam Jon McCann2007-02-201-6/+6
| | | | | Rename GetIdle to GetIdleHint (etc) to make it clear that these are not authoritative properties.