[DragonFlyBSD - Bug #3332] Failure when installing world in 6.2
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Wed Jan 11 00:47:20 PST 2023
Issue #3332 has been updated by liweitianux.
daftaupe wrote in #note-3:
> Re-reading this whole thing, I don't really understand the role of that user called toor. Is there any use for it ? It has no shell associated actually.
As described in the passwd(5) manpage, the shell is assumed to be @/bin/sh@ if there is nothing in the shell field...
I once read somewhere; the @toor@ user was there as another root but uses Bourne shell instead of csh as root uses. So it allows one to login as root (uid=0, so root privilege) and use the Bourne shell, for example, csh is broken or he/she just don't like csh.
I believe this is some really legacy use case, and I don't know whether anyone really uses this mechanism ;)
Cheers,
Aaron
----------------------------------------
Bug #3332: Failure when installing world in 6.2
http://bugs.dragonflybsd.org/issues/3332#change-14473
* 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