Page 1 of 3
[Solved] Capital Letters in a User Name
Posted: Mon Mar 16, 2020 11:09 pm
by WARRIOR
I have a couple of questions on a new install of MX 19.1 that I haven’t been able to find answers for.
For the initial user account that is created during a clean install I used a personal name and I used the standard spelling which begins with a capital letter. There were no problems or warnings about using a capital letter for this user account name.
For the second user I tried using a name that begins with a capital letter, but now there is a warning that capital letters can’t be used in a user name. So now my first user account name begins with a capital letter, but my second user account name is all lower case.
Searching the User Manual and help files and online yielded nothing definitive about this, and it seems that it may depend on the developer.
1) Can anyone tell me if my first user account with the capital letter is possibly going to cause problems down the road?
2) If not, is it possible to add a second user name using a capital letter?
I don’t think that this is related, but when I log out of either account my internal drives do not get “un-mounted”, which means that when I log back in using the second account I can’t access any extra drives unless I manually un-mount them first. If I “restart” my computer instead of just logging out then the extra internal partitions and drives get un-mounted and I can then access them without having to do anything special. I have checked the box in MX Tweak that “Enables mounting of internal drives by non-root users”.
3) Is this the normal expected behavior or is my user name with the “capital letter” possibly causing a problem?
It would seem that “log out” would mean “log out”, but in my current setup “log out” means “mostly, kinda, sorta logged out”.
Any help is appreciated.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 1:42 am
by AK-47
I've been using capitals in my user accounts for a long time, and I haven't encountered any issues. The installer has allowed capitals for a long time, even since before I started playing around with it last year, so there shouldn't be any issues for ordinary everyday usage. More elaborate setups, such as a seamless remote login to a nuclear reactor UNIX system with software from 1999, that requires lower-case to ensure the core temperature is below melting point, then you may run into some issues.
Regarding your internal drives, I'll leave that for a more seasoned Linux dev to explain. Is this also occurring with external (eg. USB) drives?
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 7:46 am
by dolphin_oracle
IIRC, when gvfs mounts (which is what thunar uses), the mounts are stored on a per-user basis under /media/$USER/mountpoint. I would have to check a little closer, but it may be that only the particular user has write permissions on that folder, although I would think any user could read.
you can override this behavior by defining common mountpoints (say under /media which is what I use) for your internal partitions by setting up entries in the /etc/fstab. disk-manager can help with that (preinstalled) if you aren't up to speed on fstab editing/creation.
you could also set up a script to unmount all your partitions and set it up to run at logout. Xfce has that sort of option in the Session & Startup "autostart" area. We use it to run the logout sound set by mx-system-sounds when that feature is enabled.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 9:12 am
by dolphin_oracle
as for the user name, I see that mx-user DOES filter down to non-capitals for the username validation. We will have to check that.
to work around that for now, use "adduser" from the terminal instead of mx-user.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 8:03 pm
by WARRIOR
Thanks AK-47. I was just about to log in and check on some things at Three Mile Island, and now I will be sure to use my “lower case” account.
And dolphin_oracle, I was afraid you would say that. I have now read enough on the various Linux Forums to see that there are many dedicated devs like yourself out there who really are helpful and they’re awesome in what they do.
But…..I’m also beginning to understand why Bill Gates is now a billionaire.
How long has Linux been in use as a desktop operating system – and I have to use a glorified DOS prompt if I want to add a new user with a capital letter in their user name?
And…..I replaced two good working versions of Windows 7 with MX Linux in different multiboot rigs -- only to find that in order to access my user data that is outside of the limited view of the token “home” folder (or is that “Home” folder) that I need to “learn to code”.
Yes, as explained in my original post, I can access my data when I re-boot instead of just logging out – but again, how many years has Linux been in worldwide use?
I would rather pay for a working operating system than use my valuable time learning how to get a “free” operating system to do the most basic computing tasks. My time is not free, so I’ll just keep using my Windows 7 installs until they die completely.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 8:20 pm
by dolphin_oracle
WARRIOR wrote: ↑Tue Mar 17, 2020 8:03 pm
How long has Linux been in use as a desktop operating system – and I have use a glorified DOS prompt if I want to add a new user with a capital letter in their user name?
you shouldn't have to, but it is a bug in our mx-user app which I'm sure will get fixed soon now that you have reported it. Its not one that's been mentioned before, and a hold over from a time where lowercase was the way to go.
And…..I replaced two good working versions of Windows 7 with MX Linux in different multiboot rigs -- only to find that in order to access my user data that is outside of the limited view of the token “home” folder (or is that “Home” folder) that I need to “learn to code”.
I don't think you've spent quite enough looking around if you think you need to code to do things outside the home folder. Outside the home folder is restricted, sure, but editing a text file or entering a password is not that hard.
Yes, as explained in my original post, I can access my data when I re-boot instead of just logging out – but again, how many years has Linux been in worldwide use?
long time, and as I said, you don't need to reboot, you just need to set things up inside the long-established linux model. Its different from Windows, and Windows is different from Linux.
I would rather pay for a working operating system than use my valuable time learning how to get a “free” operating system to do the most basic computing tasks. My time is not free, so I’ll just keep using my Windows 7 installs until they die completely.
I'm a firm believer in using what I pay for. I'm also a firm believer in linux as a desktop operating system.
Have fun!
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 9:20 pm
by WARRIOR
There are obviously many gifted programmers that make Linux “work”, but there are also many people like myself that don’t have that special “eye-hand” coordination that makes a terminal window come to life.
Can I edit a simple text file? Yes.
Do I enjoy it? No.
And that’s the difference between myself and the average Linux user. If you want Linux to be developed for that gifted 10 or 15 percent, or whatever it is, you’re doing fine already. If you hope to expand Linux outside of that 10 or 15 percent bubble it won’t happen with instructions about how to edit the xxx file in the xxx directory with the xxx program in the xxx repository.
I’m just sayin.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 9:35 pm
by JayM
WARRIOR wrote: ↑Tue Mar 17, 2020 9:20 pm
There are obviously many gifted programmers that make Linux “work”, but there are also many people like myself that don’t have that special “eye-hand” coordination that makes a terminal window come to life.
Can I edit a simple text file? Yes.
Do I enjoy it? No.
And that’s the difference between myself and the average Linux user. If you want Linux to be developed for that gifted 10 or 15 percent, or whatever it is, you’re doing fine already. If you hope to expand Linux outside of that 10 or 15 percent bubble it won’t happen with instructions about how to edit the xxx file in the xxx directory with the xxx program in the xxx repository.
I’m just sayin.
You need to take the time to study the manual and explore and get to know your new operating system. MX Linux, like its predecessor MEPIS, is famous for including GUI (graphical user interface) tools for most things that in other distros woyld require hand-editing of text-based configuration files or running arcane commands in a terminal. However, it's still Linux so there will always be
some manual configurations that have to be made and commands given within a terminal. That's just the nature of Linux, as it was with the Unix its based on or patterned after.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 9:48 pm
by Richard
Most users of Linux aren't really concerned with world domination. Use whatever pleases you.
True in the Windows world as in Linux.
Thanks for reporting the bug.
Stay safe in 2020.
Re: Capital Letters in a User Name
Posted: Tue Mar 17, 2020 11:08 pm
by figueroa
WARRIOR wrote: ↑Tue Mar 17, 2020 8:03 pm
How long has Linux been in use as a desktop operating system – and I have use a glorified DOS prompt if I want to add a new user with a capital letter in their user name?
It is an old, well established, and well accepted convention from UNIX that lower case usernames are preferable. It's not necessary, and therefore not enforced, but for cross-platform use, users may be better off with lower case usernames.
https://unix.stackexchange.com/question ... ive#235086
My own preference is the established convention. It is good.