C changing user

Alright so my question is simple but I'm kinda new to C and I was hoping someone could help me. I want to change to a different user in C. For example, I know the user's password, and if the user types: ./change user1 It will change to user1. I know this may be a security issue right now, but I'm not worried about security at the moment.
In C, there is no such thing as a user. That will depend on the operating system in use, and it's entirely possible that there will be no way to do what you want.

以上就是C changing user的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准