- Nov 06, 2011
-
-
- Apr 02, 2011
-
-
Milan Bouchet-Valat authored
-
- Dec 16, 2010
-
-
Milan Bouchet-Valat authored
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.
-
- Dec 08, 2010
-
-
Milan Bouchet-Valat authored
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
-
- Dec 06, 2010
-
-
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).
-
- Aug 21, 2010
-
-
Milan Bouchet-Valat authored
-
Milan Bouchet-Valat authored
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).
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
-
- Aug 20, 2010
-
-
Milan Bouchet-Valat authored
Sorry Carlos! ;-)
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
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.
-
- Aug 17, 2010
-
-
Milan Bouchet-Valat authored
-
- Mar 29, 2010
-
-
Milan Bouchet-Valat authored
-
Chao-Hsiung Liao authored
-
- Mar 25, 2010
-
-
Milan Bouchet-Valat authored
Handle it the same as older versions.
-
- Mar 20, 2010
-
-
Milan Bouchet-Valat authored
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 34e69955, which fixed the same mistake for groups.
-
- Mar 15, 2010
-
-
Inaki Larranaga Murgoitio authored
-
- Mar 14, 2010
-
-
Milan Bouchet-Valat authored
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).
-
Milan Bouchet-Valat authored
Load the config once when committing, to avoid reloading it many times when committing the whole GroupsConfig.
-
Milan Bouchet-Valat authored
A simple check before running an external command to modify groups makes the whole process of committing GroupsConfig much quicker.
-
- Mar 13, 2010
-
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
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().
-
- Mar 10, 2010
-
-
David Planella authored
-
- Mar 08, 2010
-
-
Milan Bouchet-Valat authored
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
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.
-
Milan Bouchet-Valat authored
-
Duarte Loreto authored
-
- Mar 05, 2010
-
-
Fran Diéguez authored
-
- Mar 04, 2010
-
-
Piotr Drąg authored
-
- Mar 03, 2010
-
-
Khaled Hosny authored
-
- Feb 15, 2010
-
-
Milan Bouchet-Valat authored
Too late...
-
Milan Bouchet-Valat authored
-
Milan Bouchet-Valat authored
We need to update user settings before running chown: home dir may have been chosen by the platform tools.
-
- Feb 10, 2010
-
-
Milan Bouchet-Valat authored
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
-
- Feb 09, 2010
-
-
Milan Bouchet-Valat authored
This was preventing the module from owning the right name, meaning clients could not contact it. Thus, modifying groups was impossible.
-
- Feb 08, 2010
-
-
Milan Bouchet-Valat authored
-
Milan Bouchet-Valat authored
This is not used since we use platform tools to set password.
-