cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Added account management features

Open nls1729 opened this issue 9 years ago • 4 comments

Request for Enhancement

The account management features provided by the gnome-control-center and by cockpit are not adequate for complete administration of users. The tool system-config-users does provide the necessary features but it must be run in an Xorg session. This link /http://preview.tinyurl.com/z93nexk is a thread on the Fedora Desktop list which prompted this RFE.

The following features are needed for administration of users:

New User:

  • [ ] Select login shell.
  • [ ] Create home directory other than default.
  • [ ] Create private group for the user and specify group ID.
  • [ ] Specify the user ID for the user.

Existing User:

  • [ ] Change login shell.
  • [ ] Enable account expiration.
  • [ ] Lock password.
  • [ ] Set days before password change allowed.
  • [ ] Set days before change required.
  • [ ] Set days warning before change.
  • [ ] Set days before account inactive.
  • [x] Force password change on next login
  • [ ] Indicate when password last changed.
  • [ ] Set groups for user membership.
  • [ ] Indicate and allow setting user primary group.

Groups: (these are being tracked in #14745 and #14746)

  • [x] Add group name with default ID or specify ID manually.
  • [x] Select user and assign to group.

I believe an examination of system-config-users would clarify the above list.

I have created a bug on Gnome bugzilla for the gnome-control-center: https://bugzilla.gnome.org/show_bug.cgi?id=777461

I am sure the Cockpit folks and the Gnome folks can work out a good solution.

nls1729 avatar Jan 18 '17 17:01 nls1729

Interesting list of features. Seems that they would help round out that functionality nicely. Do you have plans to work on any parts of this? If so, I can help you to get started. In particular take a look at the following directory in the Cockpit source tree:

pkg/users

stefwalter avatar Jan 18 '17 18:01 stefwalter

Password expiration has been done to some extent in #2062 But the code rotted a bit, and I think the PR author has moved on to other things.

andreasn avatar Jan 19 '17 11:01 andreasn

I've been wanting to redesign the accounts page for a while and just found this very old issue. There are a lot of great suggestions here and I would like to address them in a redesign.

No promises that it'll land soon, as I'm completely swamped with a lot of other tasks, but I would like to get to it sooner than later.

garrett avatar Jan 26 '22 10:01 garrett

First pass at redesigning the accounts page to accomodate the feature list mentioned above is @ https://github.com/cockpit-project/cockpit/discussions/17604.

I still need to finish up the details pages for both user accounts and groups, but the rest is there.

garrett avatar Jul 28 '22 14:07 garrett

Opened https://github.com/cockpit-project/cockpit/pull/19090 for changing the users shell.

jelly avatar Jul 10 '23 15:07 jelly