本文介绍了如何添加passwd命令到系统构建器项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个系统构建器项目来制作需要完成的QNX操作系统映像。问题是它当前不支持passwd命令。我的意思是当我写图像并尝试 passwd root 命令,我得到这个输出:

I have a system builder project to make a QNX OS image that needs to be accomplished. The problem is it is not currently supporting passwd command. I mean when I write the image and try passwd root command, I get this output:

/bin/passwd[1]: root::0:0:Superuser:/root:/bin/sh: cannot execute - No such file or directory
/bin/passwd[2]: bin:x:1:1:Binaries: cannot execute - No such file or directory
/bin/passwd[3]: daemon:x:2:2:System: cannot execute - No such file or directory
/bin/passwd[4]: mail:x:8:40:User: cannot execute - No such file or directory
/bin/passwd[5]: news:x:9:50:Network: cannot execute - No such file or directory
/bin/passwd[6]: uucp:x:12:60:Network: cannot execute - No such file or directory
/bin/passwd[7]: ftp:x:14:80:FTP: cannot execute - No such file or directory
/bin/passwd[9]: nobody:x:99:99:Nobody:/:: cannot execute - No such file or directory

我已经向项目的二进制部分添加了passwd二进制,但问题没有解决。我是图像构建概念的新手。我应该采取什么步骤?

I have already added passwd binary to Binaries part of the project but the problem is not solved. I am new to image building concepts. What steps should I take?

推荐答案

这是一个不必要的覆盖!在我的覆盖文件夹中,我有一个 passwd (通常位于etc文件夹中的那个)替换 / bin 文件夹中的二进制文件并导致问题。

It was all an unwanted override! In my overrides folder I had a passwd (the one that usually sits in etc folder) which was replacing the binary in /bin folder and causing the problem.

这篇关于如何添加passwd命令到系统构建器项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 19:33