summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-06Add Esperanto translationHEADmasterKristjan SCHMIDT1-0/+35
2011-04-02Release 2.10.2STB_2_10_2Milan Bouchet-Valat2-1/+15
2010-12-16Allow creating groups without fixed GIDMilan Bouchet-Valat1-4/+11
If 0xFFFFFFFF is passed as GID when creating a group, let the platform tools choose the value. This is what we currently do for users.
2010-12-08Use the same PolicyKit rules for 'active', 'inactive' and 'any' sessionsMilan Bouchet-Valat1-2/+4
There's no real point in preventing inactive users from editing system configuration. Usually, users are clearly active since the backends are not used by scripts, but there's no reason scripts should be forbidden. The main interest though is that remote desktop sessions that are not detected as active by ConsoleKit will work as local sessions, thus fixing or working around bugs like https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363
2010-12-06bgo#449267 - Don't create empty NTP configuration filesColin Watson1-0/+5
If /etc/ntp.conf (or the platform equivalent) doesn't exist, then merely synchronising the clock in time-admin would create it as an empty file. This caused other time syncing problems later (see e.g. https://bugs.launchpad.net/bugs/83604).
2010-08-21Release 2.10.1Milan Bouchet-Valat1-0/+18
2010-08-21Support erase_home flag when creating userMilan Bouchet-Valat1-1/+13
This flag causes home dir to be erased, leaving platform tools to fill it with skel files. This has no effect if path to home dir isn't specified (meaning default).
2010-08-21Fix chown syntax not supported on all platformsMilan Bouchet-Valat1-1/+1
We know the GID of the new user, so we can easily pass it to chown instead of omitting the main group, which is not supported by FreeBSD according to man pages.
2010-08-21Fix typos in change_user()Milan Bouchet-Valat1-3/+3
2010-08-20Update MAINTAINERS fileMilan Bouchet-Valat1-3/+3
Sorry Carlos! ;-)
2010-08-20Set D-Bus timeout to max for replies from modulesMilan Bouchet-Valat1-1/+4
Some tasks can take a long time to complete, and modules don't reply until they are done. Increase the timeout to avoid sending an error to the clients in that case. Clients can still use a short timeout if they want, and they'll get the same error message. liboobs 2.31.91 takes advantage of this with oobs_object_commit_async(), by setting a long timeout too.
2010-08-20Rework handling of home directory changesMilan Bouchet-Valat1-2/+80
The "chown home" flag was only supported when adding a user, use it in change_user() too. Add "copy home" and "erase home" flags to allow finer control on home dir changes. Create a new directory if new home does not exist yet, and handle complex situations where old home and/or new home exist. Fix a typo where $user, $old_user and $new_user where mixed in lock management.
2010-08-17Bump version to 2.10.1Milan Bouchet-Valat1-1/+1
2010-03-29Release 2.10.0STB_2_10_0Milan Bouchet-Valat2-1/+24
2010-03-29Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2-26/+32
2010-03-25Add FreeBSD 8 as known platformMilan Bouchet-Valat1-0/+2
Handle it the same as older versions.
2010-03-20Identify users by login, not UIDMilan Bouchet-Valat1-1/+1
Login is considered to be the fixed way of identifying users and groups. This allows changing their UID. Changing a user's login is not possible since we would consider it as a new user. This is how things were supposed to work (see the gnome-system-tools). Also see commit 34e6995, which fixed the same mistake for groups.
2010-03-15Updated Basque languageInaki Larranaga Murgoitio1-11/+7
2010-03-14Identify groups by login, not GIDMilan Bouchet-Valat1-2/+2
Just like users, login is considered to be the fixed way of identifying groups. This allows changing their GID. Changing a group's login is not possible since we would consider it as a new group. This is how things were supposed to work (see the gnome-system-tools).
2010-03-14Don't reload whole groups configuration on every individual changeMilan Bouchet-Valat1-2/+15
Load the config once when committing, to avoid reloading it many times when committing the whole GroupsConfig.
2010-03-14Check for changes before applying group changesMilan Bouchet-Valat1-11/+18
A simple check before running an external command to modify groups makes the whole process of committing GroupsConfig much quicker.
2010-03-13Fix wrong int size when getting UID in dispatch_self_config()Milan Bouchet-Valat1-1/+2
dbus_message_get_args() with type DBUS_TYPE_UINT32 requires passing a reference to a guint32. The gulong we were using was 64 bits long on amd64 platforms, meaning the higher half of the UID was garbage. This fixes a bug preventing people from changing their own settings, which occurred because the passed UID was rejected.
2010-03-13Fix nulling GError before useMilan Bouchet-Valat1-1/+1
This was causing a crash in some cases of Authentication failure. Since the error wasn't null, it wasn't filled, and we were passing to dbus_message_new_error() the invalid error->message string, via return_error().
2010-03-10Updated Catalan translationDavid Planella1-11/+7
2010-03-08Release 2.9.4Milan Bouchet-Valat1-0/+26
2010-03-08Fix setting Real name and password for new usersMilan Bouchet-Valat1-4/+4
We need to set Real name and password before reloading user from /etc/passwd. Else, we erase those fields, and never set it to the asked values.
2010-03-08Support password (un)lockingMilan Bouchet-Valat1-5/+54
Detect whether an account's password is locked in /etc/shadow by running 'passwd -S'. Support locking and unlocking of an account. Use 'passwd -d' when setting an empty password, as chpasswd doesn't support it.
2010-03-08Ignore invalid users from /etc/passwdMilan Bouchet-Valat1-0/+9
Returning users with no login or UID would lead to bugs and even crashes in the clients, since we rely on the login to identify users. Better detect it from the start.
2010-03-08Bump version to 2.9.4Milan Bouchet-Valat1-1/+1
2010-03-08Updated Portuguese translationDuarte Loreto1-14/+9
2010-03-05Updated Galician translationFran Diéguez1-20/+18
2010-03-04Updated Polish translationPiotr Drąg1-11/+9
2010-03-03Updated Arabic translationKhaled Hosny1-14/+17
2010-02-15Bump version to 2.9.3Milan Bouchet-Valat1-1/+1
Too late...
2010-02-15Release 2.9.3Milan Bouchet-Valat1-0/+18
2010-02-15Fix chown home directory for new userMilan Bouchet-Valat1-2/+9
We need to update user settings before running chown: home dir may have been chosen by the platform tools.
2010-02-10Improve error checking against malformed /etc/group entriesMilan Bouchet-Valat1-1/+1
When a group line contained an extra ':', the group struct contained 5 items instead of 4, leading D-Bus bindings to die unexpectedly. Clients did not receive any group struct, and could remove all groups on the system. This bug was mitigated by the move to individual commits, but this change will avoid dying for most cases. UsersConfig doesn't seem to suffer from the same problem. https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/160862
2010-02-09Fix missing GroupConfig2 in D-Bus config fileMilan Bouchet-Valat1-0/+3
This was preventing the module from owning the right name, meaning clients could not contact it. Thus, modifying groups was impossible.
2010-02-08Release 2.29.2Milan Bouchet-Valat1-0/+31
2010-02-08Remove obsolete function modify_shadow_password()Milan Bouchet-Valat1-28/+0
This is not used since we use platform tools to set password.
2010-02-08Add field for face in UserConfigMilan Bouchet-Valat2-2/+4
This field will be used later to set the path to a file containing the image to be used as a face (~/.face). For now it's just a placeholder to avoid changing the protocol again.
2010-02-08Updated French translationClaude Paroz1-12/+9
2010-02-08Hungarian translation updatedGabor Kelemen1-12/+9
2010-02-08Updated Swedish translationDaniel Nylander1-8/+8
2010-02-06Remove unneeded Use Authen::PAMMilan Bouchet-Valat1-2/+0
This has been committed mistakingly with 73b1da9, but was never needed.
2010-02-04Update Czech translationPetr Kovar1-13/+9
2010-02-04Update Simplified Chinese translation.Aron Xu1-12/+10
2010-01-31Add missing ServiceConfig.pmMilan Bouchet-Valat1-0/+69
This new was should have been part of commit 59ee7aa and was leading to build failure.
2010-01-30Enable ServicesList filtering to hide critical servicesMilan Bouchet-Valat2-8/+40
Use the list of "forbidden" services that was present in ServicesList.pm to filter services we send to the clients. This list includes every service that should not be easily disabled since they could hurt the system. With this change, clients can show all services to the user, instead of limiting to those they know about. Add many services from Ubuntu, which are likely to exist on other distributions. In particular, we now hide gdm and dbus since disabling those is rarely needed and can be dangerous - it would be equivalent to shooting us in the arm, anyway.
2010-01-29Updated Italian translationLuca Ferretti1-12/+9