Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
请教一下环境变量配置的问题
Experiences and Insight
1033
views ·
0
replies ·
To
floor
Go
xyy_218
deepin
2016-05-30 23:42
Author
我是linux新手,目前在学习阶段。
在使用终端时发现管理员用户无法使用reboot、shutdown等常用命令,总是提示“bash:命令不存在";只有root用户可以使用这些命令?
网上搜索了一下,大致是因为环境变量设置的问题。请问如果我想让当前管理员用户也能够使用这些常见命令,应该如何配置变量?是HOME目录下的.profile .bashrc还是ect目录下的profile .profile?我试过了貌似都没有生效……求指教,谢谢!
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
在使用终端时发现管理员用户无法使用reboot、shutdown等常用命令,总是提示“bash:命令不存在";只有root用户可以使用这些命令?
网上搜索了一下,大致是因为环境变量设置的问题。请问如果我想让当前管理员用户也能够使用这些常见命令,应该如何配置变量?是HOME目录下的.profile .bashrc还是ect目录下的profile .profile?我试过了貌似都没有生效……求指教,谢谢!