Comments (16)
@kyrios123 Your suggestion is very good.I overlooked the problem of two users having the same username,I've fixed this problem and you can test it.
from user-admin.
Thank you very much for your suggestion. I will revise it. I'll let you know when everything is read
from user-admin.
@kyrios123 I have made some improvements in the light of your suggestions.
However, I did not understand this recommendation.
4. The login is not displayed (just the name). It would be nice to display it somewhere
My understanding is to display the user name and real name of the user as well.
from user-admin.
For the point 4 what I mean is that the user name is displayed but not the login. It would be nice to show them both.
In the example my user name is Pierre-Yves while my login is py. A lambda user will not care but a more advanced user will probably like to see the login as well since it's what he uses to login on the console, do a ssh connection, etc...
Also it is technically possible to have multiple users (with different logins) that have the same user name. Here is an illustration of this special case. It's hard to know which "Pierre-Yves" is py and which Piere-Yves is toto.
PS: The username is editable (which is fine), but there is no save/apply button and the authentication window doesn't pops up when it's changed so I can't (for example) change one of the Pierre-Yves into something else.
from user-admin.
@zhuyaliang that's awesome ! All the points I raised have been addressed :)
If you don't mind I have a few more remarks following the tests I made today
-
The user name is still editable, but there is no way (I found) to save it
-
On the window to select a picture, there is no close/cancel button (it can be close by clicking on the main "Mate User Manage" window but it's not obvious to guess it.
-
I don't speak English fluently but I don't think "User Manage" and "Groups Manage" sound good (also singular form is used for user while plural is used for groups). Wouldn't it be better to use one ot these
- Mate User Manager and Mate Group Manager
- Mate Manage Users and Mate Manage Groups
-
It would be nice to have the possibility to click on "Setting Groups" without having to unlock the user (to check to which groups a user belongs to for example)
-
When you unlock the users, then click on "Setting Groups", the "Groups Manage" is still locked and a 2nd unlock is required. If both could be locked/unlocked together it would be user friendlier (if not too complex to implement)
-
The password field and the user name field are not greyed out (disabled) when the user is locked
-
On the "Create Group" tab, the fields are not greyed out (disabled) when the groups are locked
from user-admin.
@kyrios123
Hello, thank you for your test feedback.
-
After changing the name, the Enter key saves the modification,I will add the text tip.
-
I think the window that chooses pictures will be more beautiful with no title bar,Clicking on the main window closes the window, and I'll add a text tip.
-
I'm sorry. My English is not very good, but I will ask others for advice.Consult native speakers of English
-
It would be nice to have the possibility to click on "Setting Groups" without having to unlock the user (to check to which groups a user belongs to for example)
This is a good idea.
-
If I adopt Article 4,So group management needs a separate unlock button
-
Users have the right to modify their names, so there is no need to disable the current login user's ability to modify their names.Disabling password modification is a good suggestion.
-
create user group, I disabled the confirmation button, so it is impossible to create a group successfully without unlocking it.
from user-admin.
@kyrios123 I've made a new change. You can test the effect.
from user-admin.
@zhuyaliang
FYI - I just updated MATE from 1.21.x to 1.22.0
-
Now I can't create a new user anymore, the application "disappear" when I click on the create button.
-
Wasn't the language selection list improved, it looks like the older version. It's really not easy to use and if you scroll up when it's open you can navigate into blank items
-
When you set the password for a new user (Label should be "Set the password now"), there is immediately an error message that appears even before you can get a chance to type anything and the message causes the window to become wider which is weird.
Also shouldn't it be 8 characters instead of 8 bits in the message ? -
The image set isn't integrated into MATE. You can see it in the "About me" application and on the lock screen as well
from user-admin.
Now I can't create a new user anymore, the application "disappear" when I click on the create button.
I did not reproduce this phenomenon.After updating mate to 1.22, I can create users normally.Is there any error message after the window exits? For example, Segmentation fault,If you don't choose a language, will you still have this problem if you use the default language directly?
from user-admin.
@zhuyaliang Here is what I found in the journal logs
mars 10 12:23:14 mate122 mate-user-admin[988]: Could not get current seat: Aucune donnée disponible
mars 10 12:23:24 mate122 polkitd[611]: Operator of unix-session:c1 successfully authenticated as unix-user:py to gain TEMPORARY authorization for action org.mate.user.admin.admi>
mars 10 12:23:38 mate122 mate-user-admin[988]: mate_get_language_from_locale: assertion '*locale != '\0'' failed
mars 10 12:23:38 mate122 accounts-daemon[599]: request by system-bus-name::1.63 [mate-user-admin pid:988 uid:1000]: create user 'UserTwo'
mars 10 12:23:38 mate122 accounts-daemon[599]: useradd: invalid user name 'UserTwo'
mars 10 12:23:38 mate122 mate-user-admin[988]: [165B blob data]
mars 10 12:23:38 mate122 kernel: traps: mate-user-admin[988] trap int3 ip:7f63e34d7465 sp:7fff0f2a9ca0 error:0 in libglib-2.0.so.0.5600.3[7f63e349f000+7c000]
mars 10 12:23:38 mate122 audit[988]: ANOM_ABEND auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj==unconfined pid=988 comm="mate-user-admin" exe="/usr/bin/mate-user-admin" s>
I can however create the user (same name) from the terminal. See here
from user-admin.
@kyrios123 I found the cause of the problem,The useradd command cannot create a user name (home directory) containing uppercase letters。
for example:
useradd -c “user2" UserTwo
So when you create a new user, you need to change the location of two names.
I'll add an error message.
from user-admin.
I think I'm lost... useradd -c "UserTwo" user2
worked fine for me from a terminal.
And the man page says any string, so I am pretty sure it could even contain while spaces and punctuation.
-c, --comment COMMENT Any text string. It is generally a short description of the login, and is currently used as the field for the user's full name.
It shouldn't use the comment field (username) to create the home directory but the login !?
In my previous example, user2 is the login and is also used to create the home directrory. UserTwo is the user name (which actually is a comment field according to the man page of useradd).
Does this make sense or did I miss something ?
from user-admin.
@kyrios123
You can try useradd-m USER
useradd -c "UserTwo" user2
UserTwo is a login name that can contain any string,But not the name of the home directory.
user2 is the name of the user and also the name of the home directory. It should not contain uppercase letters.
Your previous wrong operation is equivalent to executing the
useradd -c "user2" UserTwo
command
That is, the home directory cannot contain capital letters.
from user-admin.
Actually I think the confusion is we use different vocabulary I guess
What you call user name is what I call login and vice-versa.
For me user2 is the login (this is what I type to identify at console prompt) and user name is UserTwo.
In the man pages it's also called login
NAME
useradd - create a new user or update default new user informationSYNOPSIS
useradd [options] LOGIN
from user-admin.
@kyrios123
I see what you mean. This is the question of the *useradd command. I'll ask them this question. How do you feel?
from user-admin.
Instead of "Login Name", what about having it similar to GNOME Control Center's "Full Name" so it's clearer that we're referencing the user's name? Furthermore, "User Name" should be "Username".
from user-admin.
Related Issues (20)
- Please synchronize translations before tagging next release
- Characters with accents aren't displayed properly éèàçùî ... HOT 2
- Main window width HOT 1
- Polkit authentication window is not translated HOT 1
- build failure with gcc10 HOT 1
- Segfault because I couldn't get the permission HOT 3
- PID file is not deleted when leaving the application HOT 3
- Changing user locale does not work HOT 3
- Version update HOT 1
- some warnings in terminal with 1.6.0 HOT 4
- Dark themes, some fonts color should become white instead of black HOT 2
- user-admin does not install HOT 5
- mate-user-admin package for Debian and Ubuntu is needed HOT 5
- Do not add user to audio group in MATE User Manager HOT 4
- mate-user-admin Switch Bug HOT 5
- Not working in Arch? HOT 27
- Default language problem HOT 19
- Can't enable Auto-login HOT 2
- "user count is 0" on 22.04 based Live environment HOT 1
- Some systems have stricter regex for valid usernames HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from user-admin.