Chinaunix首页 | 论坛 | 博客
  • 博客访问: 884062
  • 博文数量: 286
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1841
  • 用 户 组: 普通用户
  • 注册时间: 2015-05-09 16:26
文章分类

全部博文(286)

文章存档

2016年(38)

2015年(248)

我的朋友

分类: LINUX

2016-01-13 22:49:02


  1. I have finished and tested the code. As far as I am concerned I have completed a full blown multi-user setup for luci/openwrt. I have added the ability to hide ANY menu from ANY non root user ... finally smile
  2. Available Features
  3. - add/remove users from the luci ui
  4. - set ssh access to on or off on a per user basis
  5. - set user type to user(basic ssh permissions) or admin(elevated ssh permissions) per user basis
  6. - set what luci ui menus options are visible and available for new users on a per user basis
  7. - initial password for new users is openwrt, users can set there own password once logged in
  8. Build Instructions
  9. Just add the feed and update then you will see the pkg in the menuconfig under LuCI >> Modules called "admin-multi-user".
  10. ## LuCI 0.12 / 14.07 Barrier Breaker Branch ##
  11. src-git luci https://github.com/Hostle/openwrt-luci-multi-user.git;luci-0.12
  12. or the development branch
  13. ## LuCI trunk / Chaos Calmer Branch ##
  14. src-git luci https://github.com/Hostle/openwrt-luci-multi-user.git
  15. just add the appropriate feed to your "feeds.conf.default" and then put a "#" in front of the original luci feed and then update the luci feed
  16. ./scripts/feeds update luci
  17. ./scripts/feeds install -a -p luci
  18. then you should see the new pkg in the menuconfig under LuCI >> Modules > admin-multi-user

  19. The mods to the luci src are minimal, and luci functions fine when package is removed. Aside for the code added I have to rename a few files in the luasrc in the admin-full and admin-base but again this does not effect luci functionality . I think this could easily be pushed to the luci src and become a valuable tool in which the openwrt community could really benefit from. I have my own respo set up were the code can be fetched and built but ultimately I would like to see it become part of the luci repository or at least have the necessary changes made to the luci src to accommodate the multi-user package.

阅读(2404) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~