摘要:
今天操作/etc/sudoers 文件,因为该文件只读,所以sudo chmod 777 /etc/sudoers ,结果可以修改这个文件了,但是导致所有用户的sudo都不能用了 是因为在Linux中该文件必须是只读权限的才行,如果你知道root密码,可以到root账户下修改,直接chmod 044 阅读全文
posted @ 2018-10-25 20:08
anobscureretreat
阅读(8818)
评论(0)
推荐(0)
摘要:
ubuntu添加用户 ubuntu删除用户 阅读全文
posted @ 2018-10-25 19:52
anobscureretreat
阅读(601)
评论(0)
推荐(0)
摘要:
import json test_dict = {'bigberg':7600,'iPhone':6300,'Bike':800,'shirt':300} print(test_dict) print(type(test_dict))#字典 #dumps 将数据转换成字符串 json_str = json.dumps(test_dict) print(json_str) print(... 阅读全文
posted @ 2018-10-25 00:48
anobscureretreat
阅读(212)
评论(0)
推荐(0)

浙公网安备 33010602011771号