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.
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...
is there a way I can go back to that 'duplicate' at my Login?
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...
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 sure, can.
Give me the output from
grep /home /etc/passwd ls -lnd /home/*
Give me the output from
grep /home /etc/passwd ls -lnd /home/*
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 ~]$
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 ~]$
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 ~]$
[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/*
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
/home/santo.renamed_duplicate_2020-01-15-12:57:32/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
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 abovedirectory.
I suggest using copy to get files into /home/santo from the above directory.
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.
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...
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
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 ~]$
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/
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/*
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
[faeychild@unimatrix ~]$ ls -lnd /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"
[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).
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.
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
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
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
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...
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.
I was suggested by BT some changes in my Pan so that it will appear more readable...
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....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.
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.
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..
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
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‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.servi ce-IsrI4z’: Permission denied
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:
find:‘/var/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-upower.service-6DA 2oo’: Permission denied
find: ‘/var/spool/cron’: Permission denied‘/tmp/systemd-private-17cb1db939f74f419df550fd6cf939e4-rtkit-daemon.service-E wpSeu’: Permission denied
find: ‘/root’: Permission denied
find:
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 :-)
In the future, I would recommend you use junk as first user created
on clean install and after reboot, then create santo.
This afternoon I will be reading/googling "man ls"
Here is the command I asked santo to use
ls -lnd /home/*
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
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"
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...
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.
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?
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?
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...
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?
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/home a
and put /home into say, a partition named /local (/local/home), and make
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (0 / 16) |
Uptime: | 83:32:57 |
Calls: | 9,576 |
Calls today: | 7 |
Files: | 13,666 |
Messages: | 6,143,261 |
Posted today: | 2 |