威联通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。

在这里插入图片描述

GitHub 加速计划 / li / linux-dash
10
2
下载
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 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐