openWRT新建用户后,不能切换到新用户

 

 新建testuser用户后,通过su命令切到testuser发现不能执行shell命令,查看passwd文件发现没有指定shell,

后面添加/bin/ash后就可以切过去了。

 

 

posted @ 2021-04-09 21:18  轻轻的吻  阅读(825)  评论(0编辑  收藏  举报