• Re-installed Mageia7.1...;-(

    From santo@2:250/1 to All on Wed Jan 15 09:33:55 2020
    Hi all ( especially Bitwister )
    I made a disater...Murphy got me so bad ( plus my stupidity also helped a lot...)

    Trying to play around with the commands to change UID and GID I got so involved with it that I tried something on my own.

    ( Ahi dura terra , perche' non t'apristi?
    Ah, cruel earth, why didst thou not swallow us up at once !
    Dante , Inferno)

    Do not know what I did wrong as I was just running always your
    commands...but at some point when I wanted to start a new tread to just
    say that I was not able to change uid nor gid and started Pan it just
    would not start...from the command line I would get the following
    message :

    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :

    Your Firefox profile cannot be loaded.It may be missing or inaccessible

    tried all possible thing I could then the only option was to reinstall...

    I just did everything same but because I was into that mood of changing
    uid etc...when the time came to add a user I thought :
    What if I cange to Santo2 and give 1000 as uid? and so I did...

    ( Ahi dura terra etc...)

    this was a disaster... when I saw that my Desktop , Documents etc...were
    all empty...thought I had lost everything I almost wanted to committ suicide...but jus before hanging myself I tried df

    [santo@localhost ~]$ df
    ....
    /dev/sda7 63G 57G 6.3G 90% /home
    which tells me that all that was there is somehow still there...
    through Dophin I manage to reach

    file:///home/santo.renamed_duplicate_2020-01-15-12:57:32

    from where I can accecc at least my documents I was working on...now: #####################################################
    if
    ... you are still willing to help me...

    and

    if
    technically possible...

    then

    is there a way I can go back to that 'duplicate' at my Login?

    fi

    ###################################################

    All my games and other programs I use are there...plus other stuff I do
    not seem to have permission to either open or copy...

    Blushing TIA
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 12:34:56 2020
    On Wed, 15 Jan 2020 09:33:55 +0000 (UTC), santo wrote:
    Hi all ( especially Bitwister )
    I made a disater...Murphy got me so bad ( plus my stupidity also helped a lot...)

    I would say more ignorance than stupidity.



    Trying to play around with the commands to change UID and GID I got so involved with it that I tried something on my own.

    Heheh, hence the warning about writing down commands and checking before
    using.


    Do not know what I did wrong as I was just running always your
    commands...but at some point when I wanted to start a new tread to just
    say that I was not able to change uid nor gid and started Pan it just
    would not start...from the command line I would get the following
    message :

    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :
    Your Firefox profile cannot be loaded.It may be missing or inaccessible
    tried all possible thing I could then the only option was to reinstall...

    Oh, no. You forgot about logging into the test account junk.

    I just did everything same but because I was into that mood of changing
    uid etc...when the time came to add a user I thought :
    What if I cange to Santo2 and give 1000 as uid? and so I did...

    ( Ahi dura terra etc...)

    this was a disaster... when I saw that my Desktop , Documents etc...were
    all empty...thought I had lost everything I almost wanted to committ suicide...but jus before hanging myself I tried df

    [santo@localhost ~]$ df
    ...
    /dev/sda7 63G 57G 6.3G 90% /home
    which tells me that all that was there is somehow still there...

    Yep, your change of UID/GID can cause loss of access. Directories/files
    are still there.


    through Dophin I manage to reach

    file:///home/santo.renamed_duplicate_2020-01-15-12:57:32

    from where I can accecc at least my documents I was working on...now: #####################################################
    if
    ... you are still willing to help me...

    I sure, can.

    and

    if
    technically possible...

    If I get some information.

    is there a way I can go back to that 'duplicate' at my Login?

    Well, we will have to see.

    All my games and other programs I use are there...plus other stuff I do
    not seem to have permission to either open or copy...


    Yep, all we need to do is sync your directories/files to your new UID/GID
    or go the other way and sync your new login UID/GID to old UID/GID.

    I can recommend going forward with the syncing everything to new UID/GID
    if greater than 999,

    To straighten up the UID/GID I need to know new and old UID/GID and what
    is in /etc/passwd.


    Give me the output from
    grep /home /etc/passwd
    ls -lnd /home/*




    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Wed Jan 15 13:29:16 2020
    On Wed, 15 Jan 2020 06:34:56 -0600, Bit Twister wrote:



    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :
    Your Firefox profile cannot be loaded.It may be missing or inaccessible
    tried all possible thing I could then the only option was to
    reinstall...

    Oh, no. You forgot about logging into the test account junk.

    I think so :(
    ... you are still willing to help me...

    I sure, can.

    Thanks :-)

    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    [santo@localhost ~]$ grep /home /etc/passwd ls -lnd /home/*
    grep: invalid argument ‘/home/junk’ for ‘--directories’
    Valid arguments are:
    - ‘read’
    - ‘recurse’
    - ‘skip’
    Usage: grep [OPTION]... PATTERNS [FILE]...
    Try 'grep --help' for more information.
    [santo@localhost ~]$

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From santo@2:250/1 to All on Wed Jan 15 13:51:12 2020



    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    I changed the order of the command...

    This time I did not create the junk account so I do not know why is still there

    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash
    [santo@localhost ~]$

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From santo@2:250/1 to All on Wed Jan 15 13:56:45 2020
    On Wed, 15 Jan 2020 13:51:12 +0000, santo wrote:



    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    I changed the order of the command...

    This time I did not create the junk account so I do not know why is
    still there

    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$

    Sorry...just remembered I created after installation...
    Sigh!...

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Jim Beard@2:250/1 to All on Wed Jan 15 14:00:02 2020
    On Wed, 15 Jan 2020 13:29:16 +0000, santo wrote:

    On Wed, 15 Jan 2020 06:34:56 -0600, Bit Twister wrote:



    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :
    Your Firefox profile cannot be loaded.It may be missing or
    inaccessible tried all possible thing I could then the only option was
    to reinstall...

    Oh, no. You forgot about logging into the test account junk.

    I think so :(
    ... you are still willing to help me...

    I sure, can.

    Thanks :-)

    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    [santo@localhost ~]$ grep /home /etc/passwd ls -lnd /home/* grep:
    invalid argument ‘/home/junk’ for ‘--directories’
    Valid arguments are:
    - ‘read’
    - ‘recurse’
    - ‘skip’
    Usage: grep [OPTION]... PATTERNS [FILE]...
    Try 'grep --help' for more information.
    [santo@localhost ~]$

    BT may be having breakfast, so...

    grep /home /etc/passwd

    and

    ls -lnd /home

    should be two commands on two separate lines.

    Cheers!

    jim b.


    --
    UNIX is not user-unfriendly, it merely expects users to be computer-
    friendly.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 14:07:17 2020
    On Wed, 15 Jan 2020 13:51:12 +0000 (UTC), santo wrote:



    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    You need to change your pan preference. It is wrapping multi line commands
    into one line.




    I changed the order of the command...

    This time I did not create the junk account so I do not know why is still there

    Because /home is on a separate partition and no files were destroyed.


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash
    [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Wed Jan 15 14:24:45 2020
    On Wed, 15 Jan 2020 08:07:17 -0600, Bit Twister wrote:


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd
    santo:x:1001:1001:santo:/home/santo:/bin/bash
    junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*

    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/ junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/
    -rw-r--r-- 1 0 0 27189 Mar 8 2014 /home/mageia3files
    -rw-r--r-- 1 0 0 0 Mar 9 2014 /home/rpm-installed-files
    drwxr-x--- 20 1001 1001 4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01 /home/ santo.renamed_duplicate_2020-01-15-12:57:32/

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 14:44:04 2020
    On Wed, 15 Jan 2020 14:24:45 +0000 (UTC), santo wrote:
    On Wed, 15 Jan 2020 08:07:17 -0600, Bit Twister wrote:


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd
    santo:x:1001:1001:santo:/home/santo:/bin/bash

    These are the UID/GID we/you will want all files.


    junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*

    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/ junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/
    -rw-r--r-- 1 0 0 27189 Mar 8 2014 /home/mageia3files
    -rw-r--r-- 1 0 0 0 Mar 9 2014 /home/rpm-installed-files drwxr-x--- 20 1001 1001 4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01
    /home/santo.renamed_duplicate_2020-01-15-12:57:32/

    Ok, as root


    chown -R santo:santo home/santo.renamed_duplicate_2020-01-15-12:57:32/

    After that, santo will/should have access to all files in the above directory.

    I suggest using copy to get files into /home/santo from the above directory.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 14:45:06 2020
    On Wed, 15 Jan 2020 08:44:04 -0600, Bit Twister wrote:
    On Wed, 15 Jan 2020 14:24:45 +0000 (UTC), santo wrote:
    On Wed, 15 Jan 2020 08:07:17 -0600, Bit Twister wrote:


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd
    santo:x:1001:1001:santo:/home/santo:/bin/bash

    These are the UID/GID we/you will want all files.


    junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*

    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/
    junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/
    -rw-r--r-- 1 0 0 27189 Mar 8 2014 /home/mageia3files
    -rw-r--r-- 1 0 0 0 Mar 9 2014 /home/rpm-installed-files
    drwxr-x--- 20 1001 1001 4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01 /home/santo.renamed_duplicate_2020-01-15-12:57:32/

    Ok, as root


    chown -R santo:santo home/santo.renamed_duplicate_2020-01-15-12:57:32/

    Frap. Sorry, That should be

    chown -R santo:santo /home/santo.renamed_duplicate_2020-01-15-12:57:32/

    After that, santo will/should have access to all files in the above
    directory.

    I suggest using copy to get files into /home/santo from the above directory.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Wed Jan 15 15:04:55 2020
    On Wed, 15 Jan 2020 08:45:06 -0600, Bit Twister wrote:



    Frap. Sorry, That should be

    chown -R santo:santo
    /home/santo.renamed_duplicate_2020-01-15-12:57:32/

    After that, santo will/should have access to all files in the above
    directory.

    I suggest using copy to get files into /home/santo from the above
    directory.

    :-)

    Yes...Now I have access to all the files...thanks very greatfull.....it
    has been a long intense day in front of the system...tomorrow will copy
    the files...
    You mean using cp instead of drag and dropping I guess...
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 15:19:09 2020
    On Wed, 15 Jan 2020 15:04:55 +0000 (UTC), santo wrote:
    On Wed, 15 Jan 2020 08:45:06 -0600, Bit Twister wrote:



    Frap. Sorry, That should be

    chown -R santo:santo
    /home/santo.renamed_duplicate_2020-01-15-12:57:32/

    After that, santo will/should have access to all files in the above
    directory.

    I suggest using copy to get files into /home/santo from the above
    directory.

    :-)

    Yes...Now I have access to all the files...thanks very greatfull.....it
    has been a long intense day in front of the system...tomorrow will copy
    the files...
    You mean using cp instead of drag and dropping I guess...


    Whatever works best to you. I hardly use gui for file work.
    I want to see any problems as they occur.

    What is going to be left over is locating any files with your old UID/GID
    of 500. As root

    find / -path /proc -prune -o -uid 500

    find / -path /proc -prune -o -gid 500

    I suggest these pan settings

    View-> Body Pane
    uncheck Wrap Article Body
    uncheck Mute Quoted Text
    uncheck Show bold, underline, italic

    and I can only guess the line wrapping problems we have seen in your
    replies is caused by your editor settings.



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Jan 15 16:49:43 2020
    Much beating of the breast, but almost no information.
    It sounds like you actually installed a new user with the same uid as
    the old user. From the command line, (one of the terminals such as
    alt-ctrl-F2) and log on as root (usename root) and look at /etc/passwd.
    What are the entries? Especially the ones with UID greater than or equal
    to 1000?

    If there are more than 1, then get rid of the one you do not want.

    Before that try doing
    ls -la ~santos
    What are the listed username for the files in the santos home directory (assuming that your home directory IS /home/santos)


    On 2020-01-15, santo <nanci@auroville.org.in> wrote:
    Hi all ( especially Bitwister )
    I made a disater...Murphy got me so bad ( plus my stupidity also helped a lot...)

    Trying to play around with the commands to change UID and GID I got so involved with it that I tried something on my own.

    ( Ahi dura terra , perche' non t'apristi?
    Ah, cruel earth, why didst thou not swallow us up at once !
    Dante , Inferno)

    Do not know what I did wrong as I was just running always your commands...but at some point when I wanted to start a new tread to just
    say that I was not able to change uid nor gid and started Pan it just
    would not start...from the command line I would get the following
    message :

    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :

    Your Firefox profile cannot be loaded.It may be missing or inaccessible

    tried all possible thing I could then the only option was to reinstall...

    I just did everything same but because I was into that mood of changing
    uid etc...when the time came to add a user I thought :
    What if I cange to Santo2 and give 1000 as uid? and so I did...

    ( Ahi dura terra etc...)

    this was a disaster... when I saw that my Desktop , Documents etc...were
    all empty...thought I had lost everything I almost wanted to committ suicide...but jus before hanging myself I tried df

    [santo@localhost ~]$ df
    ...
    /dev/sda7 63G 57G 6.3G 90% /home
    which tells me that all that was there is somehow still there...
    through Dophin I manage to reach

    file:///home/santo.renamed_duplicate_2020-01-15-12:57:32

    from where I can accecc at least my documents I was working on...now: #####################################################
    if
    ... you are still willing to help me...

    and

    if
    technically possible...

    then

    is there a way I can go back to that 'duplicate' at my Login?

    fi

    ###################################################

    All my games and other programs I use are there...plus other stuff I do
    not seem to have permission to either open or copy...

    Blushing TIA
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Jan 15 16:52:53 2020
    On 2020-01-15, santo <nanci@auroville.org.in> wrote:
    On Wed, 15 Jan 2020 06:34:56 -0600, Bit Twister wrote:



    Munmap -chunk ()
    Aborted ( core dump )

    Worst Firefox also did not start anymore error message was :
    Your Firefox profile cannot be loaded.It may be missing or inaccessible
    tried all possible thing I could then the only option was to
    reinstall...

    Oh, no. You forgot about logging into the test account junk.

    I think so :(
    ... you are still willing to help me...

    I sure, can.

    Thanks :-)

    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    [santo@localhost ~]$ grep /home /etc/passwd ls -lnd /home/*

    This makes absolutely no sense. I am not sure what it was you were
    trying to do.


    grep: invalid argument ‘/home/junk’ for ‘--directories’
    Valid arguments are:
    - ‘read’
    - ‘recurse’
    - ‘skip’
    Usage: grep [OPTION]... PATTERNS [FILE]...
    Try 'grep --help' for more information.
    [santo@localhost ~]$

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Wed Jan 15 16:59:58 2020
    On 2020-01-15, santo <nanci@auroville.org.in> wrote:
    On Wed, 15 Jan 2020 08:07:17 -0600, Bit Twister wrote:


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd
    santo:x:1001:1001:santo:/home/santo:/bin/bash
    junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*

    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/ junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/
    -rw-r--r-- 1 0 0 27189 Mar 8 2014 /home/mageia3files
    -rw-r--r-- 1 0 0 0 Mar 9 2014 /home/rpm-installed-files drwxr-x--- 20 1001 1001 4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01 /home/ santo.renamed_duplicate_2020-01-15-12:57:32/

    You do see that you have two home directories with permissions for uid
    1000 (junk and santos1). Which is the actual uid? Note also that you
    have onely one user , namely junk, with uid 1000. Alsop what in the
    world is
    junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$
    supposed to mean? GEt rid of that argument to bash!
    It will simply confuse everything.



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Wed Jan 15 21:08:22 2020
    On 16/1/20 1:07 am, Bit Twister wrote:
    On Wed, 15 Jan 2020 13:51:12 +0000 (UTC), santo wrote:



    Give me the output from
    grep /home /etc/passwd ls -lnd /home/*

    You need to change your pan preference. It is wrapping multi line commands into one line.




    I changed the order of the command...

    This time I did not create the junk account so I do not know why is still
    there

    Because /home is on a separate partition and no files were destroyed.


    [santo@localhost ~]$ ls -lnd /home* | grep /home /etc/passwd
    santo:x:1001:1001:santo:/home/santo:/bin/bash
    junk:x:1000:1000:junk:/home/junk:/bin/bash
    [santo@localhost ~]$


    Still need the output from

    ls -lnd /home/*



    bugger!! I knew I should not have read this

    [faeychild@unimatrix ~]$ ls -lnd /home*
    drwxr-xr-x 4 0 0 4096 Aug 31 07:46 /home/

    [faeychild@unimatrix ~]$ ls -ln /home*
    total 8
    drwxr-xr-x 20 1001 1001 4096 Jan 15 14:54 junk/
    drwxr-x--- 36 1000 1000 4096 Jan 16 07:57 faeychild/

    [faeychild@unimatrix ~]$ ls -ld /home*
    drwxr-xr-x 4 root root 4096 Aug 31 07:46 /home/

    [faeychild@unimatrix ~]$ ls -nd /home*
    drwxr-xr-x 4 0 0 4096 Aug 31 07:46 /home/


    So why did I expect them all to show "junk"


    This afternoon I will be reading/googling "man ls"

    Thanks Bits :-)



    --
    faeychild
    Running plasmashell 5.15.4 on 5.4.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Wed Jan 15 21:22:17 2020
    On Thu, 16 Jan 2020 08:08:22 +1100, faeychild wrote:
    On 16/1/20 1:07 am, Bit Twister wrote:


    Still need the output from

    ls -lnd /home/*



    bugger!! I knew I should not have read this

    Even worse, not using the indicated command. Can only assume your
    thunderbird Usenet client may not have show trailing slash. :(


    [faeychild@unimatrix ~]$ ls -lnd /home*
    drwxr-xr-x 4 0 0 4096 Aug 31 07:46 /home/

    Yup, looking just about like mine.

    $ ls -lnd /home*
    drwxr-xr-x 10 0 0 4096 Dec 16 12:39 /home


    The devil is in the details. You did not use the command I wanted
    from santo.



    So why did I expect them all to show "junk"

    You got me. I have no idea.


    This afternoon I will be reading/googling "man ls"

    Here is the command I asked santo to use
    ls -lnd /home/*

    Because I used home/*, I did not want all files, just the directories
    in /home/, I had to have d.

    n was used, to verify which UID/GID was set for a given directory.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Thu Jan 16 07:33:57 2020
    On Wed, 15 Jan 2020 16:59:58 +0000, William Unruh wrote:


    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/
    junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/ -rw-r--r--
    1 0 0 27189 Mar 8 2014 /home/mageia3files -rw-r--r-- 1 0
    0 0 Mar 9 2014 /home/rpm-installed-files drwxr-x--- 20 1001 1001
    4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01 /home/
    santo.renamed_duplicate_2020-01-15-12:57:32/

    You do see that you have two home directories with permissions for uid
    1000 (junk and santos1).

    This has to do with the first re-install when I - alas - as user I named santo1 confusing everything and thinking that I lost everything when I
    then logged in...then I re-installed ( my final one ...) restoring back
    the name santo thinking that maybe I could access the old directories...
    it got so complicated for me that I did not know where to turn anymore, Luckily Bitwister is always available with help...

    Now they are appearing as

    [santo@localhost ~]$ cat /etc/passwd
    .....
    santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash

    I do not know why santo has 1001, I did not set the uid when installing I
    was expecting 500 as my very firs installation.
    I added junk after install and again I do not know why it has been
    assigned 1000.
    Anyway now these are the two users in my system.
    I think I can delete santo1 without Murphy intervening this time...


    Alsop what in the
    world is junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$ supposed to mean? GEt rid of that argument to bash!
    It will simply confuse everything.

    I was suggested by BT some changes in my Pan so that it will appear more readable...
    Thanks...
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From santo@2:250/1 to All on Thu Jan 16 07:57:39 2020
    On Wed, 15 Jan 2020 09:19:09 -0600, Bit Twister wrote:

    What is going to be left over is locating any files with your old UID/GID
    of 500. As root

    find / -path /proc -prune -o -uid 500

    [santo@localhost ~]$ find / -path /proc -prune -o -uid 500
    find: ‘/etc/skel/tmp’: Permission denied
    find: ‘/etc/lvm/archive’: Permission denied
    find: ‘/etc/lvm/cache’: Permission denied
    find: ‘/etc/lvm/backup’: Permission denied
    find: ‘/etc/polkit-1/rules.d’: Permission denied
    find: ‘/etc/sudoers.d’: Permission denied
    find: ‘/etc/shorewall’: Permission denied
    /proc
    find: ‘/usr/share/firebird/misc’: Permission denied
    find: ‘/usr/share/polkit-1/rules.d’: Permission denied
    find: ‘/var/lib/firebird/data’: Permission denied
    find: ‘/var/lib/firebird/secdb’: Permission denied
    find: ‘/var/lib/private’: Permission denied
    find: ‘/var/lib/udisks2’: Permission denied
    find: ‘/var/lib/mlocate’: Permission denied
    find: ‘/var/lib/samba/private’: Permission denied
    find: ‘/var/lib/machines’: Permission denied
    find: ‘/var/lib/sddm’: Permission denied
    find: ‘/var/lib/portables’: Permission denied
    find: ‘/var/cache/private’: Permission denied
    find: ‘/var/log/private’: Permission denied
    find: ‘/var/log/sudo-io’: Permission denied
    find: ‘/var/log/samba’: Permission denied
    find: ‘/var/db/sudo’: Permission denied
    find: ‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.servi ce-IsrI4z’: Permission denied
    find: ‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-upower.service-6DA 2oo’: Permission denied
    find: ‘/var/spool/cron’: Permission denied
    find: ‘/root’: Permission denied
    find: ‘/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.service-E wpSeu’: Permission denied
    find: ‘/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-upower.service-kI3ZBiâ €™: Permission denied
    find: ‘/.dbus’: Permission denied
    find: ‘/run/udisks2’: Permission denied
    find: ‘/run/sudo’: Permission denied
    find: ‘/run/mdadm’: Permission denied
    find: ‘/run/lvm’: Permission denied
    find: ‘/run/cryptsetup’: Permission denied
    find: ‘/run/systemd/unit-root’: Permission denied
    find: ‘/run/systemd/inaccessible’: Permission denied
    find: ‘/run/lock/lvm’: Permission denied
    find: ‘/lost+found’: Permission denied
    find: ‘/sys/kernel/debug/tracing’: Permission denied
    find: ‘/sys/fs/pstore’: Permission denied
    find: ‘/sys/fs/bpf’: Permission denied
    find: ‘/sys/fs/fuse/connections/8388610’: Permission denied
    find: ‘/sys/fs/fuse/connections/8388609’: Permission denied
    find: ‘/home/santo/Documents.old/.mybit’: Permission denied
    find: ‘/home/.Trash-0’: Permission denied
    find: ‘/home/.kde4/share/config’: Permission denied
    find: ‘/home/junk’: Permission denied
    [santo@localhost ~]$

    same for gid


    find / -path /proc -prune -o -gid 500

    I suggest these pan settings

    View-> Body Pane
    uncheck Wrap Article Body
    uncheck Mute Quoted Text
    uncheck Show bold, underline, italic

    Done :-)


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jan 16 08:37:07 2020
    On Thu, 16 Jan 2020 07:57:39 +0000 (UTC), santo wrote:
    On Wed, 15 Jan 2020 09:19:09 -0600, Bit Twister wrote:

    What is going to be left over is locating any files with your old UID/GID
    of 500. As root

    find / -path /proc -prune -o -uid 500

    [santo@localhost ~]$ find / -path /proc -prune -o -uid 500
    find: ‘/etc/skel/tmp’: Permission denied

    The permission problems are because you are not following instructions.

    The key phrase was "As root"

    That means that you are to click up a terminal and run
    su - root
    enter root's password and run the commands given.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jan 16 08:58:01 2020
    On Thu, 16 Jan 2020 07:33:57 +0000 (UTC), santo wrote:
    On Wed, 15 Jan 2020 16:59:58 +0000, William Unruh wrote:

    You do see that you have two home directories with permissions for uid
    1000 (junk and santos1).

    This has to do with the first re-install when I - alas - as user I named santo1 confusing everything and thinking that I lost everything when I
    then logged in...then I re-installed ( my final one ...) restoring back
    the name santo thinking that maybe I could access the old directories...
    it got so complicated for me that I did not know where to turn anymore, Luckily Bitwister is always available with help...

    Now they are appearing as

    [santo@localhost ~]$ cat /etc/passwd
    ....
    santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash

    I do not know why santo has 1001, I did not set the uid when installing

    Glad to hear that. As with you, I am surprised as you. On clean install,
    I would have expected the first user UID/GID to use values from /etc/login.defs

    # grep -iE "^UID_MIN|^GID_MIN" /etc/login.defs
    UID_MIN 1000
    GID_MIN 1000

    was expecting 500 as my very firs installation.

    You can thank good ole systemd for the change. :(

    I added junk after install and again I do not know why it has been
    assigned 1000.

    That surprised me as well. Apparently there is some extra code to help
    newbie system administrators from shooting themselves in the foot, when
    /home already has the same user name.

    Anyway now these are the two users in my system.

    In the future, I would recommend you use junk as first user created
    on clean install and after reboot, then create santo.

    I think I can delete santo1 without Murphy intervening this time...

    Heheh, hopefully so. When you feel everything is back how you want it,
    I can recommend cleaning up /home to match /etc/passwd.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Thu Jan 16 09:00:06 2020
    On Thu, 16 Jan 2020 02:37:07 -0600, Bit Twister wrote:


    The permission problems are because you are not following instructions.

    The key phrase was "As root"

    That means that you are to click up a terminal and run
    su - root
    enter root's password and run the commands given.

    Jesus...sorry...:(

    [root@localhost ~]# find / -path /proc -prune -o -uid 500
    /proc
    [root@localhost ~]# find / -path /proc -prune -o -gid 500
    /proc
    [root@localhost ~]#

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jan 16 09:08:11 2020
    On Thu, 16 Jan 2020 07:33:57 +0000 (UTC), santo wrote:

    I was suggested by BT some changes in my Pan so that it will appear more readable...

    I did install pan, but did not find any setting that is causing your
    mangling of commands I entered, or the output provided by you.

    I can only guess it is caused by your editor settings. Guessing it is
    set in paragraph/autowrap mode.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jan 16 09:13:37 2020
    On Thu, 16 Jan 2020 09:00:06 +0000 (UTC), santo wrote:
    On Thu, 16 Jan 2020 02:37:07 -0600, Bit Twister wrote:


    The permission problems are because you are not following instructions.

    The key phrase was "As root"

    That means that you are to click up a terminal and run
    su - root
    enter root's password and run the commands given.

    Jesus...sorry...:(

    [root@localhost ~]# find / -path /proc -prune -o -uid 500
    /proc
    [root@localhost ~]# find / -path /proc -prune -o -gid 500
    /proc
    [root@localhost ~]#


    Outstanding. Looking like you have ownership cleaned up for any 500 U/GID.
    It would not hurt to check for un-owned files. As root

    find / -path /proc -prune -o -user nobody -o -group nogroup

    ignore any /run/user/ permission errors.



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Thu Jan 16 09:53:23 2020
    On Thu, 16 Jan 2020 03:13:37 -0600, Bit Twister wrote:


    Outstanding....LOL!

    Looking like you have ownership cleaned up for any 500 U/GID.
    It would not hurt to check for un-owned files. As root

    find / -path /proc -prune -o -user nobody -o -group nogroup

    ignore any /run/user/ permission errors.

    [root@localhost ~]# find / -path /proc -prune -o -user nobody -o -group nogroup
    /proc
    [root@localhost ~]#

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From santo@2:250/1 to All on Thu Jan 16 09:55:15 2020
    On Thu, 16 Jan 2020 03:08:11 -0600, Bit Twister wrote:

    On Thu, 16 Jan 2020 07:33:57 +0000 (UTC), santo wrote:

    I was suggested by BT some changes in my Pan so that it will appear more
    readable...

    I did install pan, but did not find any setting that is causing your
    mangling of commands I entered, or the output provided by you.

    I can only guess it is caused by your editor settings. Guessing it is
    set in paragraph/autowrap mode.

    Must say I do not understand what you mean when you say 'my editor'...
    I just click on follow up to newsgroup and type in the pop up window...
    now with the changes you suggested..

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Thu Jan 16 10:00:57 2020
    On Thu, 16 Jan 2020 09:55:15 +0000 (UTC), santo wrote:
    On Thu, 16 Jan 2020 03:08:11 -0600, Bit Twister wrote:


    I did install pan, but did not find any setting that is causing your
    mangling of commands I entered, or the output provided by you.

    I can only guess it is caused by your editor settings. Guessing it is
    set in paragraph/autowrap mode.

    Must say I do not understand what you mean when you say 'my editor'...
    I just click on follow up to newsgroup and type in the pop up window...
    now with the changes you suggested..

    If you were to look around in pan's settings, somewhere you get to set
    which editor you would like to use.

    In any case, when you get into that pop up window, I would assume
    there are things you could click/look at that allow you to configure
    the editor in use.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Thu Jan 16 20:34:30 2020
    On 2020-01-16, santo <nanci@auroville.org.in> wrote:
    On Wed, 15 Jan 2020 16:59:58 +0000, William Unruh wrote:


    [santo@localhost ~]$ ls -lnd /home/*
    drwxr-x--- 16 1000 1000 4096 Jan 15 14:01 /home/junk/
    drwxr-x--- 20 0 0 4096 Jan 15 09:27 /home/
    junk.renamed_duplicate_2020-01-15-14:00:53/
    drwxr-xr-x 2 0 0 16384 Feb 25 2010 /home/lost+found/ -rw-r--r--
    1 0 0 27189 Mar 8 2014 /home/mageia3files -rw-r--r-- 1 0
    0 0 Mar 9 2014 /home/rpm-installed-files drwxr-x--- 20 1001 1001
    4096 Jan 15 19:52 /home/santo/
    drwxr-x--- 18 1000 1000 4096 Jan 15 12:46 /home/santo1/
    drwxr-xr-x 66 0 0 12288 Jan 15 12:01 /home/
    santo.renamed_duplicate_2020-01-15-12:57:32/

    You do see that you have two home directories with permissions for uid
    1000 (junk and santos1).

    This has to do with the first re-install when I - alas - as user I named santo1 confusing everything and thinking that I lost everything when I
    then logged in...then I re-installed ( my final one ...) restoring back
    the name santo thinking that maybe I could access the old directories...
    it got so complicated for me that I did not know where to turn anymore, Luckily Bitwister is always available with help...

    Now they are appearing as

    [santo@localhost ~]$ cat /etc/passwd
    ....
    santo:x:1001:1001:santo:/home/santo:/bin/bash junk:x:1000:1000:junk:/home/junk:/bin/bash

    I do not know why santo has 1001, I did not set the uid when installing I was expecting 500 as my very firs installation.

    Nope, that was way back at Mageia 1 or 3. Now the lowest user is 1000.
    Some advocate that you should choose something like 2000 to give future versions the option of using even more numbers for the system.

    I added junk after install and again I do not know why it has been
    assigned 1000.

    BEcause you added it first. The system user allocation assigns
    sequentially from 1000.

    Anyway now these are the two users in my system.
    I think I can delete santo1 without Murphy intervening this time...


    Alsop what in the
    world is junk:x:1000:1000:junk:/home/junk:/bin/bash [santo@localhost ~]$
    supposed to mean? GEt rid of that argument to bash!
    It will simply confuse everything.

    I was suggested by BT some changes in my Pan so that it will appear more

    The place to set the bash display is in .bashrc setting the PS1
    environment variable, not in /etc/passwd

    Eg PS1='\u@\h \w$'
    in .bashrc

    (man bash under PROMPTING-- It means <user>@<hostname> <Current working directory>$
    I have no idea what the prompt is supposed to have to do with PAN.





    readable...
    Thanks...
    Santo

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Thu Jan 16 20:38:38 2020
    On 2020-01-16, santo <nanci@auroville.org.in> wrote:
    On Wed, 15 Jan 2020 09:19:09 -0600, Bit Twister wrote:

    What is going to be left over is locating any files with your old UID/GID
    of 500. As root

    find / -path /proc -prune -o -uid 500

    You did notice did you not "As root"? You are running it as "santo" not
    as "root"


    [santo@localhost ~]$ find / -path /proc -prune -o -uid 500
    find: ‘/etc/skel/tmp’: Permission denied
    find: ‘/etc/lvm/archive’: Permission denied
    find: ‘/etc/lvm/cache’: Permission denied
    find: ‘/etc/lvm/backup’: Permission denied
    find: ‘/etc/polkit-1/rules.d’: Permission denied
    find: ‘/etc/sudoers.d’: Permission denied
    find: ‘/etc/shorewall’: Permission denied
    /proc
    find: ‘/usr/share/firebird/misc’: Permission denied
    find: ‘/usr/share/polkit-1/rules.d’: Permission denied
    find: ‘/var/lib/firebird/data’: Permission denied
    find: ‘/var/lib/firebird/secdb’: Permission denied
    find: ‘/var/lib/private’: Permission denied
    find: ‘/var/lib/udisks2’: Permission denied
    find: ‘/var/lib/mlocate’: Permission denied
    find: ‘/var/lib/samba/private’: Permission denied
    find: ‘/var/lib/machines’: Permission denied
    find: ‘/var/lib/sddm’: Permission denied
    find: ‘/var/lib/portables’: Permission denied
    find: ‘/var/cache/private’: Permission denied
    find: ‘/var/log/private’: Permission denied
    find: ‘/var/log/sudo-io’: Permission denied
    find: ‘/var/log/samba’: Permission denied
    find: ‘/var/db/sudo’: Permission denied
    find:
    ‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.servi ce-IsrI4z’: Permission denied
    find:
    ‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-upower.service-6DA 2oo’: Permission denied
    find: ‘/var/spool/cron’: Permission denied
    find: ‘/root’: Permission denied
    find:
    ‘/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.service-E wpSeu’: Permission denied
    find:
    ‘/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-upower.service-kI3ZBiâ €™: Permission denied
    find: ‘/.dbus’: Permission denied
    find: ‘/run/udisks2’: Permission denied
    find: ‘/run/sudo’: Permission denied
    find: ‘/run/mdadm’: Permission denied
    find: ‘/run/lvm’: Permission denied
    find: ‘/run/cryptsetup’: Permission denied
    find: ‘/run/systemd/unit-root’: Permission denied
    find: ‘/run/systemd/inaccessible’: Permission denied
    find: ‘/run/lock/lvm’: Permission denied
    find: ‘/lost+found’: Permission denied
    find: ‘/sys/kernel/debug/tracing’: Permission denied
    find: ‘/sys/fs/pstore’: Permission denied
    find: ‘/sys/fs/bpf’: Permission denied
    find: ‘/sys/fs/fuse/connections/8388610’: Permission denied
    find: ‘/sys/fs/fuse/connections/8388609’: Permission denied
    find: ‘/home/santo/Documents.old/.mybit’: Permission denied
    find: ‘/home/.Trash-0’: Permission denied
    find: ‘/home/.kde4/share/config’: Permission denied
    find: ‘/home/junk’: Permission denied
    [santo@localhost ~]$

    same for gid


    find / -path /proc -prune -o -gid 500

    I suggest these pan settings

    View-> Body Pane
    uncheck Wrap Article Body
    uncheck Mute Quoted Text
    uncheck Show bold, underline, italic

    Done :-)


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Thu Jan 16 21:15:34 2020
    On 16/1/20 7:58 pm, Bit Twister wrote:

    In the future, I would recommend you use junk as first user created
    on clean install and after reboot, then create santo.

    I'm curious, Bits

    Why junk first



    --
    faeychild
    Running plasmashell 5.15.4 on 5.4.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Thu Jan 16 21:27:51 2020
    On 16/1/20 8:22 am, Bit Twister wrote:


    This afternoon I will be reading/googling "man ls"

    Here is the command I asked santo to use
    ls -lnd /home/*



    Amazing
    I don't remember now if I typed directly or cut and pasted

    Whichever, though, It is a concern

    There are days when I do something impulsively, look back at it later
    and think - WHAT ARE YOU DOING!!!

    Regards

    --
    faeychild
    Running plasmashell 5.15.4 on 5.4.6-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Jan 17 01:41:22 2020
    On Fri, 17 Jan 2020 08:15:34 +1100, faeychild wrote:
    On 16/1/20 7:58 pm, Bit Twister wrote:

    In the future, I would recommend you use junk as first user created
    on clean install and after reboot, then create santo.

    I'm curious, Bits

    Why junk first


    First and foremost, Because junk's UID/GID on his system is 1000, and
    second santo's UID/GID is 1001.

    Keep in mind santo has a separate /home and user's UID/GID in /etc/passwd
    will need to match id's in /home

    Third, I would not depend on install logic to automagically continue to
    make that adjustment if santo is entered as the first user on the system. during clean installs.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Jan 17 01:50:38 2020
    On Thu, 16 Jan 2020 20:38:38 -0000 (UTC), William Unruh wrote:
    On 2020-01-16, santo <nanci@auroville.org.in> wrote:
    On Wed, 15 Jan 2020 09:19:09 -0600, Bit Twister wrote:

    What is going to be left over is locating any files with your old UID/GID >>> of 500. As root

    find / -path /proc -prune -o -uid 500

    You did notice did you not "As root"? You are running it as "santo" not
    as "root"


    William, might I suggest that you read all the responses in the thread in
    order to check if your reply/solution/suggestion has not already been posted.

    Since you are using slrn as you Usenet client, you can hit "u" to mark
    the post as un-read, read the rest of replies, then come back to any
    unread posts to which you do want to reply.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Fri Jan 17 10:13:35 2020
    On Thu, 16 Jan 2020 20:34:30 +0000, William Unruh wrote:



    I do not know why santo has 1001, I did not set the uid when installing I >> was expecting 500 as my very firs installation.

    Nope, that was way back at Mageia 1 or 3. Now the lowest user is 1000.
    Some advocate that you should choose something like 2000 to give future versions the option of using even more numbers for the system.

    I added junk after install and again I do not know why it has been
    assigned 1000.

    BEcause you added it first. The system user allocation assigns
    sequentially from 1000.

    this is where I get confused...So when during installation
    I add santo as user which UID the system should assign?
    I was expecting 1000...



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Jan 17 11:00:07 2020
    On Fri, 17 Jan 2020 10:13:35 +0000 (UTC), santo wrote:

    this is where I get confused...So when during installation
    I add santo as user which UID the system should assign?
    I was expecting 1000...

    Which is correct.

    On any clean install and no separate /home, the first user you create
    will have the values seen in
    # grep -iE "^UID_MIN|^GID_MIN" /etc/login.defs
    UID_MIN 1000
    GID_MIN 1000

    Apparently, that piece of code looked in /home on your system and
    saw that /home/santo had a UID/GID of 1001 and created the /etc/passwd
    santo entry using 1001 for UID/GID.

    That same piece of code was used when you created the junk account which created junk with the 1000 UID/Gid.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Fri Jan 17 12:41:58 2020
    On Fri, 17 Jan 2020 05:00:07 -0600, Bit Twister wrote:


    Apparently, that piece of code looked in /home on your system and
    saw that /home/santo had a UID/GID of 1001 and created the /etc/passwd
    santo entry using 1001 for UID/GID.

    That same piece of code was used when you created the junk account which created junk with the 1000 UID/Gid.

    is it important or I have to change uid etc to avoid future problem?
    can I just delete junk set santo as 1000?

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Jan 17 13:13:53 2020
    On Fri, 17 Jan 2020 12:41:58 +0000 (UTC), santo wrote:
    On Fri, 17 Jan 2020 05:00:07 -0600, Bit Twister wrote:


    Apparently, that piece of code looked in /home on your system and
    saw that /home/santo had a UID/GID of 1001 and created the /etc/passwd
    santo entry using 1001 for UID/GID.

    That same piece of code was used when you created the junk account which
    created junk with the 1000 UID/Gid.

    is it important or I have to change uid etc to avoid future problem?
    can I just delete junk set santo as 1000?

    That is why I recommended that you always create junk during install,
    then after reboot, create santo.

    Now, it is your system, and you get to decide. Think about how much fun
    you had getting santo's uid/gid changed from 500.

    For you to be able to make your desired change to have santo's u/gid
    set to 1000, all you have to do is
    o create another account, say aaa
    o log into the new third account aaa
    o as root, delete the 1000 junk account
    Do check delete home and mail items.
    o change group id 1001 from santo to santo_O
    o create group santo as 1000
    o change santo UID to 1000
    o change santo GID to 1000
    o chmod -R 1000:1000 /home/santo
    o delete santo_O group



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Fri Jan 17 13:25:41 2020
    On Fri, 17 Jan 2020 12:41:58 +0000 (UTC), santo wrote:
    On Fri, 17 Jan 2020 05:00:07 -0600, Bit Twister wrote:


    Apparently, that piece of code looked in /home on your system and
    saw that /home/santo had a UID/GID of 1001 and created the /etc/passwd
    santo entry using 1001 for UID/GID.

    That same piece of code was used when you created the junk account which
    created junk with the 1000 UID/Gid.

    is it important or I have to change uid etc to avoid future problem?
    can I just delete junk set santo as 1000?


    After you read my other reply, I can recommend that you create a forth
    and fifth account.

    You then practice/document how to do the steps to actually modify the
    two new accounts like you were doing the santo UID/GID change.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Jan 17 17:50:25 2020
    On 2020-01-17, santo <nanci@auroville.org.in> wrote:
    On Thu, 16 Jan 2020 20:34:30 +0000, William Unruh wrote:



    I do not know why santo has 1001, I did not set the uid when installing I >>> was expecting 500 as my very firs installation.

    Nope, that was way back at Mageia 1 or 3. Now the lowest user is 1000.
    Some advocate that you should choose something like 2000 to give future
    versions the option of using even more numbers for the system.

    I added junk after install and again I do not know why it has been
    assigned 1000.

    BEcause you added it first. The system user allocation assigns
    sequentially from 1000.

    this is where I get confused...So when during installation
    I add santo as user which UID the system should assign?
    I was expecting 1000...

    If it is the very first non-root user assigned then yes, I would expect
    it to be 1000 but Bit has speculated that the software may look at
    /home to see if there is a directory there with the name of the user you
    are trying to install, and if there is, to assign a number which is the
    UID of that directory. This is in an attempt to be helpful so that you
    do not need to change all of the UIDs of the files in that directory.
    So, if you already have a /home/santos and you ask it to set up a user
    of santos, it will use the uid attached to that directory. This would
    only really work if you were monting an old partition onto /home. If you
    are reinstalling, rather than upgrading, then, if /home is part of the / partition, it would have been wiped clean and thee would be no entries
    in /home. But tht does not seem to be your situation. If you do as I do
    and put /home into say, a partition named /local (/local/home), and make /home pointer (soft link) to /local/home, then the system would have no idea
    that the home directory of santos exists, and would assign it 1000
    That is my theory.




    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Fri Jan 17 18:04:16 2020
    On 2020-01-17, santo <nanci@auroville.org.in> wrote:
    On Fri, 17 Jan 2020 05:00:07 -0600, Bit Twister wrote:


    Apparently, that piece of code looked in /home on your system and
    saw that /home/santo had a UID/GID of 1001 and created the /etc/passwd
    santo entry using 1001 for UID/GID.

    That same piece of code was used when you created the junk account which
    created junk with the 1000 UID/Gid.

    is it important or I have to change uid etc to avoid future problem?
    can I just delete junk set santo as 1000?



    It is completely unimportant what the uid is, as long as it is larger
    than or equal to 1000. The UID is simply the name that the system uses
    to refer to all files, directories belonging to the user. /etc/password
    is the translation from computer number reference to human readable
    form. The computer does not care what that number is (as long as none
    are accidentally repeated-- Not that the computer cares if both santos
    and bob have uid 1001. It is just that you or bob might care that all
    files of one can be read/written/executed by the other.
    The distro reserves some number (it used to 100 then 500 then 1000 and
    maybe 2000 in 5 years) below which system "users" are assigned numbers.
    It will check if the new uid is already used when it tries to assign a
    number (UID) to a new system user. It tends to count down from Min user
    (1000) for most new system users, and up from 0 for others, but it
    really does not care if user 37 is you. It will avoid that number in
    assigning system users uids. It is just tidy to have all ordinary users
    having one block of numbers, and system users a different block. I am
    sure there are numberous Mageia systems around where there are ordinary
    users with numbers less than 1000 and it is harmless (except for
    possible inconvenience when you reinstall, but not when you upgrade).



    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From santo@2:250/1 to All on Sat Jan 18 12:06:10 2020
    On Fri, 17 Jan 2020 17:50:25 +0000, William Unruh wrote:

    BEcause you added it first. The system user allocation assigns
    sequentially from 1000.

    this is where I get confused...So when during installation
    I add santo as user which UID the system should assign?
    I was expecting 1000...

    If it is the very first non-root user assigned then yes, I would expect
    it to be 1000 but Bit has speculated that the software may look at
    /home to see if there is a directory there with the name of the user you
    are trying to install, and if there is, to assign a number which is the
    UID of that directory. This is in an attempt to be helpful so that you
    do not need to change all of the UIDs of the files in that directory.
    So, if you already have a /home/santos and you ask it to set up a user
    of santos, it will use the uid attached to that directory. This would
    only really work if you were monting an old partition onto /home.

    Thanks a lot for the explanation here and your other post.

    If you
    are reinstalling, rather than upgrading, then, if /home is part of the / partition, it would have been wiped clean and thee would be no entries
    in /home. But tht does not seem to be your situation.

    Yes this is why I always put home in a separate partition..

    If you do as I do
    and put /home into say, a partition named /local (/local/home), and make
    /home a
    pointer (soft link) to /local/home, then the system would have no idea
    that the home directory of santos exists, and would assign it 1000
    That is my theory.

    Ecxellent...this seems the way in the future to avoid all these complication

    Will surely kep in mind next reinstall...For the time being I will keep the system as it is

    Thanks again
    Santo


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)