Article 5JJ66 Cannot set password using passwd

Cannot set password using passwd

by
slac
from LinuxQuestions.org on (#5JJ66)
I cannot set a password for any account using the command: passwd.

From the LFS book, the command passwd is installed by installing the shadow package.

I guess something is missing at /dev because it appears a tty file at /dev whenever I try to use passwd.

Only console and null nodes are there because they were created by indications of the LFS book at 7.3 kernfs.html.

By deleting /dev, the passwd command works again.

I want to know what is it that passwd is trying to find at /dev. I tried to do the same by chrooting into other gnu/linux systems and passwd works normally.

The passwd also works if I bind /dev from the host system to the chroot environment, but as I said earlier, I did not bind any /dev to the chroot environment of other gnu/linux distributions and passwd works fine.

I guess something is missing apart from console and null nodes but what is it?latest?d=yIl2AUoC8zA latest?i=qlO0lfIefww:St7sor03le0:F7zBnMy latest?i=qlO0lfIefww:St7sor03le0:V_sGLiP latest?d=qj6IDK7rITs latest?i=qlO0lfIefww:St7sor03le0:gIN9vFwqlO0lfIefww
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments