威联通ts-532x 篇四 修改用户为管理员admin权限
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
威联通ts-532x 5.0 qnap修改用户为管理员admin
新版 5.0 qnap 前面很多问题,感觉和权限有关,索性把常用账号改成管理员。
修改原因,1、威联通界面没找到可以上网的地方,无法测试网络连通情况,2、ssh界面不让使用ping命令,说是没有权限,3、网络配置路由需要调试。
以yuanda为例
[/etc] # cat passwd
admin:x:0:0:administrator,,administrator,:/share/homes/admin:/bin/sh
guest:x:65534:65534:guest:/tmp:/bin/sh
httpdusr:x:99:0:Apache httpd user:/tmp:/bin/sh
yuanda:x:1000:100:Linux User,000000000@qq.com,,:/share/homes/yuanda:/bin/sh
[/etc] # vim passwd
[/etc] # cat passwd
admin:x:0:0:administrator,,administrator,:/share/homes/admin:/bin/sh
guest:x:65534:65534:guest:/tmp:/bin/sh
httpdusr:x:99:0:Apache httpd user:/tmp:/bin/sh
yuanda:x:0:100:Linux User,000000000@qq.com,,:/share/homes/yuanda:/bin/sh
把yuanda的第二个1000,改成0,保存后,在用yuanda登录直接显示admin。




A beautiful web dashboard for Linux
最近提交(Master分支:2 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)