如何在C(++)中的Linux中使用Shadow.H验证用户的密码。H
我在C ++中有一个项目( https://ari-web.xyz/gh/kos ) 和 就像sudo,但在C ++中,不使用PAM,我想要它 要保持这种方式,但是有一种方法可以验证 用户的密码不使用Shadow.h?也有些人 出于安全原因没有 /etc /shadow,所以...
还有另一种方法吗?
提前致谢 :)
I have a project in C++ (https://ari-web.xyz/gh/kos) and
it's like sudo but in C++ and doesn't use PAM, I want it
to keep it this way but is there a way to validate the
password of a user without using shadow.h? some people also
don't have /etc/shadow for security reasons so...
Is there another way to do it?
Thanks in advance :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论