Settings | Sign in | Sign up

There are currently 4 posts.

编译sudo-1.9.16p2前必须编译安装libxcrypt-4.4.38库,否则sudo命令只能输入/etc/passwd里面的加密后的密码。

Floor 1 巨大八爪鱼 8/4/25 20:39
这是因为arm官网的arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-linux-gnueabihf交叉编译器不带crypt.h头文件和crypt函数。
Floor 2 巨大八爪鱼 8/4/25 20:40
现在https://www.sudo.ws/dist/官方已经发布了sudo-1.9.17p2.tar.gz了,是上个月26号(26-Jul-2025 15:16)发布的。
Floor 3 巨大八爪鱼 8/4/25 20:41

只能输入/etc/passwd里面的加密后的密码的话就没意义了,谁都看得到那个文件里面的内容。

Floor 4 巨大八爪鱼 8/5/25 12:09
在板子上本地编译libxcrypt-4.4.38前还需要先编译perl-5.40.2。
这两个软件包编译安装完成后,就可以编译sudo-1.9.16p2了。

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.