/etc/passwd 保存了系统所有用户的信息 uid 用户的身份标识为0为超级管理员 500--60000普通用户 1-499程序用户(不能登陆系统) root:x:0:0:root:/root:/bin/bash 字段1:用户名 字段2:密码占位符 字段3:uid号 字段4:用户的基本组id号 ...
分类:
其他好文 时间:
2021-06-15 18:24:07
阅读次数:
0
1、打开终端,输入:sudo spctl --master-disable,再打开通用偏好设置中的安全与隐私,会出现一个任何来源。 ps:sudo spctl --master-enable 这个是取消任何来源 2、若执行步骤1没有得到解决,请在终端输入命令:sudo xattr -r -d com ...
分类:
系统相关 时间:
2021-06-15 18:21:23
阅读次数:
0
1、按系列罗列Linux的发行版,并描述不同发行版之间的联系与区别。 linux的发行版: RedHat、suse、红旗、debian、Ubuntu、centos等,主流有suse、centos、Redhat、ubuntu Redhat: RHEL: RedHat Enterprise Linux, ...
分类:
系统相关 时间:
2021-06-15 18:02:15
阅读次数:
0
1、vim编辑代码设置:sudo vim /etc/vim/vimrc... set autoindent " 设置每次单击Enter键后,光标移动到下一行时与上一行的起始字符对齐 set cindent set number "display line number set ts=4 "tabsp ...
分类:
系统相关 时间:
2021-06-15 17:59:34
阅读次数:
0
OSCP Security Technology - Network Scanning(2) Scanning with Nessus https://www.tenable.com/downloads/nessus?loginAttempted=true#nessus-8.14.0 sudo dp ...
分类:
Web程序 时间:
2021-06-15 17:38:32
阅读次数:
0
图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。 一、Ubuntu中软件安装方法 1、APT方式 (1)普通安装:apt-get install softname1 ...
分类:
系统相关 时间:
2021-06-15 17:31:58
阅读次数:
0
You are given an array aa of nn integers. Find the number of pairs (i,j)(i<j)where the sum of ai+ajai+aj is greater than or equal to l and less than o ...
分类:
编程语言 时间:
2021-06-13 10:56:21
阅读次数:
0
CentOS 7 安装 NETCore 教程 注册微软安装包源 sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm 安装 NETCore SDK sudo yum insta ...
分类:
Web程序 时间:
2021-06-13 10:39:59
阅读次数:
0
查找当前目录下某个文件 find . –name [filename] -i 不区分大小写 find . –iname [filename] -type 按类型进行查找,d查找目录,f查找文件 find . –type d –name [document] find . type f –name [ ...
分类:
系统相关 时间:
2021-06-13 09:58:24
阅读次数:
0
有待总结。 Binary Search: 633, Sum of Square Numbers 475, Heaters 744, Find Smallest Letter Greater than target(LC submissions from original session) 427?? ...
分类:
其他好文 时间:
2021-06-13 09:48:38
阅读次数:
0