Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | database: write the console database to disk before signalling via dbus | Lennart Poettering | 2009-08-12 | 1 | -10/+19 |
| | | | | | | | We simply change the order how the signal handlers for D-Bus and the database dumping are registered. According to the gobject docs it is guaranteed that the signal handlers are run in the same order as they are registered, so this should be safe and have the desired effect. | ||||
* | make CK database world readable | Lennart Poettering | 2009-08-11 | 1 | -1/+1 |
| | | | | | | | | The CK database shall be readable by the D-Bus daemon which runs under its own user id hence make sure it is readable for non-root processes. To make sure this leaks no information this drops the session cookie from the database. | ||||
* | Port to PolicyKit 1.0 apis | Matthias Clasen | 2009-07-20 | 1 | -468/+205 |
| | |||||
* | avoid a (harmless) warning message | Matthias Clasen | 2009-07-16 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=21310 | ||||
* | don't allow reboot if PolicyKit and RBAC are disabled | William Jon McCann | 2008-07-30 | 1 | -13/+14 |
| | |||||
* | use object paths for seat added/removed signals per spec | William Jon McCann | 2008-07-22 | 1 | -4/+4 |
| | |||||
* | export login session id to the bus | William Jon McCann | 2008-05-05 | 1 | -0/+9 |
| | |||||
* | always try to detect parameters for session | William Jon McCann | 2008-04-19 | 1 | -11/+5 |
| | | | | | Treat the parameters passed in via OpenSessionWithParameters as overrides. | ||||
* | install scripts into $(prefix)/lib instead of $libdir | William Jon McCann | 2008-04-18 | 1 | -2/+2 |
| | | | | We don't want scripts going into lib64... | ||||
* | return PolicyKit results when not privileged for action | William Jon McCann | 2008-04-16 | 1 | -2/+3 |
| | |||||
* | always create the directories we need | William Jon McCann | 2008-02-25 | 1 | -24/+39 |
| | |||||
* | ck_seat_get_active_session shouldn't return a null ssid | William Jon McCann | 2008-02-12 | 1 | -20/+11 |
| | | | | | Da bus no likey nulls for object paths. Return false and set error if there is no active session. | ||||
* | add support for logging start/stop/restart | William Jon McCann | 2008-01-29 | 1 | -4/+55 |
| | | | | Also enable reporting this information with ck-history. | ||||
* | make polkit optional and use RBAC on Solaris | Brian Cameron | 2008-01-28 | 1 | -1/+70 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | be a little smarter about how we compute the number of users | William Jon McCann | 2008-01-23 | 1 | -2/+94 |
| | |||||
* | history should log to /var/log not /var/run | William Jon McCann | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | actually register the error type with dbus | William Jon McCann | 2008-01-23 | 1 | -0/+1 |
| | |||||
* | add GetSessions method to Manager interface | William Jon McCann | 2008-01-23 | 1 | -0/+25 |
| | |||||
* | add error type to manager | William Jon McCann | 2008-01-23 | 1 | -0/+22 |
| | |||||
* | initial stop/restart support | William Jon McCann | 2008-01-22 | 1 | -58/+609 |
| | | | | | | 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. | ||||
* | dump session leader info | William Jon McCann | 2007-10-22 | 1 | -0/+9 |
| | |||||
* | move session leader stuff into a separate class | William Jon McCann | 2007-10-22 | 1 | -377/+105 |
| | | | | This will make it easier to dump/restore. | ||||
* | add last mode, filtering by user/seat; shorten logged ids | William Jon McCann | 2007-10-21 | 1 | -10/+24 |
| | |||||
* | add a basic ck-history command | William Jon McCann | 2007-10-17 | 1 | -21/+21 |
| | | | | | Refactor some event logging code to share with ck-history. At the moment the command only prints the events. | ||||
* | add event logging capability | William Jon McCann | 2007-10-16 | 1 | -6/+334 |
| | | | | | | | | This adds the ability to log events to a history file. One idea is to be able to provide wtmp like functionality. The next step is to add a seat-aware "last" command. This will be very useful for creating graphical logins that remember the most recent/frequent logins. | ||||
* | maintain a file with the dump of the local database | David Zeuthen | 2007-10-10 | 1 | -5/+199 |
| | | | | | | | | This feature is useful for programs wanting to read the database without going through the D-Bus interface. This is sometimes desirable when both performance and runtime dependencies are important. For security reasons the file is only readable for the super user. | ||||
* | remove session/seat from list before signaling | William Jon McCann | 2007-10-10 | 1 | -12/+45 |
| | | | | | | We should remove the session or seat from the lists before calling out or emitting a signal. We steal from the lists and then unref the objects when the signal is complete. | ||||
* | untabify | William Jon McCann | 2007-08-28 | 1 | -8/+8 |
| | |||||
* | move all proc stuff into ck-sysdeps | William Jon McCann | 2007-08-16 | 1 | -25/+27 |
| | |||||
* | Add preliminary support for seats with devices | William Jon McCann | 2007-07-20 | 1 | -2/+52 |
| | |||||
* | add a glib message to syslog handler | William Jon McCann | 2007-04-03 | 1 | -21/+20 |
| | | | | | Also add ability to toggle debugging when SIGUSR1 is received. | ||||
* | add unix-user to parse list | William Jon McCann | 2007-04-02 | 1 | -1/+1 |
| | | | | Oops. | ||||
* | deprecate the user properties and add unix-user properties | William Jon McCann | 2007-03-13 | 1 | -8/+17 |
| | | | | | Also added deprecated notes to the docs. New code should be using GetUnixUser instead of GetUser etc. | ||||
* | various leak fixes | William Jon McCann | 2007-03-13 | 1 | -3/+35 |
| | |||||
* | add uuid to cookie | William Jon McCann | 2007-03-09 | 1 | -1/+9 |
| | |||||
* | check for empty strings as well as null | William Jon McCann | 2007-03-06 | 1 | -7/+9 |
| | |||||
* | use a slightly more sophisticated rule for adding sessions to static seat | William Jon McCann | 2007-03-06 | 1 | -5/+32 |
| | |||||
* | add x11-display-device to parse table | William Jon McCann | 2007-03-05 | 1 | -6/+7 |
| | |||||
* | rename host-name in one more place | William Jon McCann | 2007-03-05 | 1 | -6/+6 |
| | |||||
* | use an async job to collect session info | William Jon McCann | 2007-03-05 | 1 | -76/+202 |
| | | | | | Use an async helper job to collect session info for the OpenSession() method. | ||||
* | lay the groundwork for making open session async | William Jon McCann | 2007-02-28 | 1 | -118/+252 |
| | | | | | | | | | | Restructure things a bit so that we can be completely async about creating sessions. We want to do this so we can use callouts to gather session info or to verify info. Also make the OpenSession create a parameter list and then create the session rather than creating the session and changing attributes. This is less racy and the session will be complete and correct before any signals are emitted. | ||||
* | rename some items in proc.h api; add some more error checking | William Jon McCann | 2007-02-26 | 1 | -38/+66 |
| | | | | | Make the proc.h API more coherent. Convert some warnings to debug statements. Fix two leaks. Add more error checking. | ||||
* | add support for glib < 2.12 | William Jon McCann | 2007-02-21 | 1 | -1/+24 |
| | | | | Copy the iso8601 function from glib to support versions less than 2.12. | ||||
* | make separate test scripts for open session methods | William Jon McCann | 2007-02-21 | 1 | -0/+1 |
| | |||||
* | add a system-idle-hint and system-idle-since-hint | William Jon McCann | 2007-02-20 | 1 | -18/+142 |
| | | | | | The system idle hint is TRUE when there are no busy (ie non-idle) sessions. So the system is idle when there are no sessions or all sessions are idle. | ||||
* | restrict access to CloseSession | William Jon McCann | 2007-02-15 | 1 | -0/+77 |
| | | | | Only allow the uid and pid that opened the session to close it. | ||||
* | convert all tabs to spaces | William Jon McCann | 2007-02-15 | 1 | -77/+77 |
| | |||||
* | Add some more debugging output | William Jon McCann | 2007-02-06 | 1 | -1/+7 |
| | |||||
* | Fix some small leaks. Add --timed-exit to daemon for valgrinding. | William Jon McCann | 2006-11-06 | 1 | -1/+10 |
| | |||||
* | Show message even when error is NULL. Fix valgrind script. | William Jon McCann | 2006-11-06 | 1 | -1/+0 |
| |