Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.mint > #45633

Re: Password incorrect after name change Home folder

From Gordon <Gordon@leaf.net.nz>
Newsgroups alt.os.linux.mint
Subject Re: Password incorrect after name change Home folder
Date 2025-10-26 22:04 +0000
Message-ID <mm7k7kFsqp0U1@mid.individual.net> (permalink)
References (2 earlier) <mlqb1pF18eoU1@mid.individual.net> <10dafd2$jl48$1@dont-email.me> <mm1091Fp210U3@mid.individual.net> <10dg0gg$2524$1@dont-email.me> <mm1khvFse76U1@mid.individual.net>

Show all headers | View raw


On 2025-10-24, s|b <me@privacy.invalid> wrote:
> On Fri, 24 Oct 2025 14:54:46 +0100, Chris Elvidge wrote:
>
>> You're installing Mint, right?
>
> Yes, Linux Mint 22.2 Cinnamon 64-bit.
>
>> You specify your username during the install. As it happens this will 
>> make a directory under /home with your username as its name. E.g. I 
>> specify 'chris' as my username and get a directory /home/chris as my 
>> home directory. You also have a user root with home directory /root. 
>> This is standard. That's your user without root access and your user 
>> with root access.
>>
>> As an added 'bonus' Mint will also allow your user (chris) access to 
>> root via sudo. Any users added after that will not have sudo access 
>> until and unless you provide it (see visudo) but this is not usual 
>> unless you are envisaging a multiuser system.
>> 
>> You can use user chris for autologin, it you want to.
>
> But this user can access root via sudo you just said. Isn't it wise then
> to autologin with an added user that doesn't have sudo access? If such a
> thing is possible.

The rule is one login as, chris in this, case and when you can not do
something that to wish to do you all upon root. This is done with the sudo
command. 

As to help file says "execute a command as another user".

So you have sudo <some command> to get the job done if you can not do it as
chris, a normal user.

A user does need root powers to get some things done, but it is all too easy
to mess up with root powers, and most session go fine with not sudo being
required.
>  
>> According to your original post your boss, logged in as root, changed 
>> the directory name under /home from (e.g.) chris to Chris - linux is 
>> case sensitive, unlike Windows, so chris and Chris are different. Also 
>> changing the name of a home directory does not change the username. So, 
>> as I explained above, you cannot log in as Chris and expect anything to 
>> work - bad password - as user Chris is not in the password file, and 
>> /home/Chris is also not in the password file, so logging in as chris 
>> will not find a home directory, and will default to /, where you can't 
>> do anything remotely useful.
>
> I've understood that now. In Windows, messing with c:\users\* will cause
> problems as well.
>
>> So log in as chris and use sudo (superuser do) to get access to the root 
>> user's account, if necessary.
>> 
>> The answer: don't use user root unless you know what you're doing - it 
>> will break something.
>
> We've learned that the hard way. But it's not an answer to my question:
>
> Can I install, create a user with root access with no autologin, 

Yes, Just follow the instructions on the install screen if Mint install.
Chris will need to login upon startup and the sudo powers will be avaliable
ti Chris via the sudo.

Get it into your head to go carefully, sudo does not ask any questions,
espically the Are you sure type? 

then
> create a user with no root access with autologin? If so and I want to
> access the root account, how?

Why would you? 


> Autologin (no root), then sign off and
> switch user? 

Logout (Not shut down) from the desktop and then log in with the new user.



> Or are there other ways?
>
> I can test this myself now, but I'd rather ask instead of breaking
> something again.
>

Back to alt.os.linux.mint | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 14:43 +0200
  Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-21 12:59 +0000
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 16:10 +0200
      Re: Password incorrect after name change Home folder "Alan K." <alan@invalid.com> - 2025-10-21 11:04 -0400
        Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-21 15:45 +0000
        Re: Password incorrect after name change Home folder Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-23 07:16 +0000
        Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-23 09:06 -0400
      Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-21 15:42 +0000
        Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-22 02:05 -0400
  Re: Password incorrect after name change Home folder "Alan K." <alan@invalid.com> - 2025-10-21 09:24 -0400
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 16:16 +0200
    Re: Password incorrect after name change Home folder Gordon <Gordon@leaf.net.nz> - 2025-10-22 07:51 +0000
  Re: Password incorrect after name change Home folder pinnerite <pinnerite@gmail.com> - 2025-10-21 14:47 +0100
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 16:20 +0200
      Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-21 13:12 -0400
        Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 11:42 +0200
  Re: Password incorrect after name change Home folder yossarian <<nomail@gmail.com>> - 2025-10-21 18:14 +0200
    Re: Password incorrect after name change Home folder Joerg Walther <joerg.walther@magenta.de> - 2025-10-21 18:22 +0200
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 22:55 +0200
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 11:43 +0200
      Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-24 09:50 -0400
        Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 17:21 +0200
          Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-24 22:41 -0400
            Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 13:31 +0200
      Re: Password incorrect after name change Home folder yossarian <<nomail@gmail.com>> - 2025-10-24 17:07 +0200
        Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 13:33 +0200
  Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-21 13:08 -0400
    Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-21 23:08 +0200
      Re: Password incorrect after name change Home folder Chris Elvidge <chris@internal.net> - 2025-10-22 12:32 +0100
        Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-22 08:46 -0400
        Re: Password incorrect after name change Home folder Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-23 07:13 +0000
        Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 11:47 +0200
          Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-24 10:49 +0000
            Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 15:53 +0200
              Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-24 14:47 +0000
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 20:48 +0200
                Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-24 23:03 -0400
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 14:06 +0200
                Re: Password incorrect after name change Home folder vallor <vallor@vallor.earth> - 2025-10-25 12:52 +0000
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 16:40 +0200
                Re: Password incorrect after name change Home folder Chris Elvidge <chris@internal.net> - 2025-10-25 14:31 +0100
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 16:46 +0200
                Re: Password incorrect after name change Home folder vallor <vallor@vallor.earth> - 2025-10-25 17:39 +0000
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-26 17:02 +0100
                Re: Password incorrect after name change Home folder yossarian <<nomail@gmail.com>> - 2025-10-26 17:44 +0100
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-27 21:07 +0100
                Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-25 09:42 -0400
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-25 17:22 +0200
                Re: Password incorrect after name change Home folder lisa <not.in.use@home.invalid> - 2025-10-28 14:22 +0100
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-29 19:35 +0100
                Re: Password incorrect after name change Home folder lisa <not.in.use@home.invalid> - 2025-10-30 09:30 +0100
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-30 15:28 +0100
                Re: Password incorrect after name change Home folder Dan Purgert <dan@djph.net> - 2025-10-25 13:27 +0000
                Re: Password incorrect after name change Home folder [OT] "s|b" <me@privacy.invalid> - 2025-10-25 17:04 +0200
                Re: Password incorrect after name change Home folder Gordon <Gordon@leaf.net.nz> - 2025-10-26 22:51 +0000
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-27 21:34 +0100
                Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-27 18:57 -0400
                Re: Password incorrect after name change Home folder [OT] "s|b" <me@privacy.invalid> - 2025-10-29 19:40 +0100
                Re: Password incorrect after name change Home folder Monsieur <Monsieur@notreal.invalid> - 2025-10-28 15:05 +0100
                Re: Password incorrect after name change Home folder [OT] "s|b" <me@privacy.invalid> - 2025-10-29 19:48 +0100
          Re: Password incorrect after name change Home folder Chris Elvidge <chris@internal.net> - 2025-10-24 14:54 +0100
            Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 17:33 +0200
              Re: Password incorrect after name change Home folder Chris Elvidge <chris@internal.net> - 2025-10-24 17:52 +0100
                Re: Password incorrect after name change Home folder "s|b" <me@privacy.invalid> - 2025-10-24 20:55 +0200
              Re: Password incorrect after name change Home folder Gordon <Gordon@leaf.net.nz> - 2025-10-26 22:04 +0000
          Re: Password incorrect after name change Home folder Paul <nospam@needed.invalid> - 2025-10-24 11:08 -0400
  Re: Password incorrect after name change Home folder Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-23 00:20 +0000

csiph-web