chmod /etc/sudoers and locked myself out of 6.0

发布时间:2018-11-05 16:43:15 阅读:1084次

https://forum.synology.com/enu/viewtopic.php?t=116116

Found a simple and easy solution
do this:

  • log in to DSM Web interface as admin
  • Control Panel -> "Task scheduler"
  • Add a "user script":
    Image
  • make it disabled:
    Image
  • insert command which will reset the correct modes (chmod ug=r,o= /etc/sudoers)
    Image
  • run it:
    Image
Should be fixed now


如有问题,可以QQ搜索群1028468525加入群聊,欢迎一起研究技术

支付宝 微信

有疑问联系站长,请联系QQ:QQ咨询

转载请注明:chmod /etc/sudoers and locked myself out of 6.0 出自老鄢博客 | 欢迎分享