[DragonFlyBSD - Bug #3332] Failure when installing world in 6.2
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sun Jan 29 14:13:08 PST 2023
Issue #3332 has been updated by aswell.
geobarrod wrote in #note-7:
I reiterate, the simple solution is to modify the '/usr/src/etc/../tools/pw-update.sh' script or modify the 'pw' command to allow the creation of another account with uid '0'
Don't mind me, just passing by and wanted to ask...
Allowing multiple users with uid0 seems like it could be a security risk if used improperly, or at least could potentially cause other unforeseen problems down the road. Matt might be able to clarify the historical reason the 'toor' user exists, and the potential impact if removed.
Curious, isn't the simplest solution to not remove a user that the operating system installs by default?
----------------------------------------
Bug #3332: Failure when installing world in 6.2
http://bugs.dragonflybsd.org/issues/3332#change-14491
* Author: tuxillo
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: Build
* Target version: 6.4
* Start date: 2022-11-15
----------------------------------------
As reported by Geovani B.R. via email, there seems to be a problem when installing world in 6.2:
<pre>
--------------------------------------------------------------
>>> complete building rescue and initrd
--------------------------------------------------------------
--- _bwdone ---
--------------------------------------------------------------
>>> buildworld target complete
--------------------------------------------------------------
sh /usr/src/etc/../tools/pw-update.sh -d /etc -g /usr/src/etc/group -p /usr/src/etc/master.passwd
===> Adding new users ...
* toor: 0, 0, Bourne-again Superuser, /root,
pw: uid `0' has already been allocated
*** [preinstall] Error code 65
make[3]: stopped in /usr/src/etc
1 error
make[3]: stopped in /usr/src/etc
*** [preinstall] Error code 2
make[2]: stopped in /usr/src
1 error
make[2]: stopped in /usr/src
</pre>
Need to find out how this can be reproduced.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list