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

推荐订阅源

L
LINUX DO - 最新话题
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
美团技术团队
WordPress大学
WordPress大学
F
Fortinet All Blogs
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
F
Full Disclosure
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
U
Unit 42
博客园 - 【当耐特】
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
V
Visual Studio Blog
P
Proofpoint News Feed
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
L
LangChain Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Secure Thoughts
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Heimdal Security Blog
W
WeLiveSecurity
Cloudbric
Cloudbric
N
News and Events Feed by Topic
Last Week in AI
Last Week in AI
N
News and Events Feed by Topic
G
Google Developers Blog
Attack and Defense Labs
Attack and Defense Labs
Google Online Security Blog
Google Online Security Blog
S
Security Affairs
S
Security @ Cisco Blogs
雷峰网
雷峰网
有赞技术团队
有赞技术团队
Webroot Blog
Webroot Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cyber Attacks, Cyber Crime and Cyber Security
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta
P
Palo Alto Networks Blog
D
DataBreaches.Net
Application and Cybersecurity Blog
Application and Cybersecurity Blog

博客园 - 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)    收藏  举报