惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

博客园 - NetSoft

java - 环境变量 ubuntu - 网络文件夹访问 ubuntu - 查看硬盘占用情况 ubuntu - 查看系统资源占用(内存,cpu和进程) ubuntu - 配置IP地址 ubuntu - 下更改语言环境 reporting server改名 facebook是如何管理代码的 SIM卡编号的含意 Ubuntu iptables 内网端口映射 vi编辑器常用的命令及快捷键 IIS 问题 64位windows 2003环境UNC部署权限设置 Linux常用的压缩及解压缩命令如表2-5所示。 Esxi开启putty链接 Android系统中自带的图标 Unparsed aapt error(s)! Check the console for output解决方法 - NetSoft Eclipse自动拷贝SVN的.SVN目录到bin目录问题的解决 - NetSoft - 博客园 浅议DAS、NAS、SAN区别(转载)
Ubuntu - 切换到管理员(root)身份
NetSoft · 2012-01-18 · via 博客园 - NetSoft

首先点菜单“应用程序-附件-终端”进入到命令行模式,然后输入下面命令

su [用户名] 

切换到其它用户,默认切换到 root 用户。提示密码为将切换用户密码  

-f 快速切换,忽略配置文件 

-l 重新登录 

-m ,-p 不更改环境变量 

-c <命令> 切换后执行命令,并退出切换 

sudo [命令] 

以其它用户的身份执行命令,默认以 root 的身份执行。提示密码为当前用户密码  

-s 切换为 root shell 

-i 切换为 root shell,并初始化 

-u <用户名|UID> 执行命令的身份 

-l 显示自己的权限 

posted @ 2012-01-18 09:48  NetSoft  Views(2363)  Comments(0)    收藏  举报