- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- bash 當作root shell 有問題?
系統管理
1753359
會員
6660
線上
108792
解決方案
論壇
類別
Company
Local Language
返回
論壇
討論平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
部落格
信息
社區語言
語言
論壇
部落格
文章選項
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-22-2007 07:27 AM
在 05-22-2007 07:27 AM
bash 當作root shell 有問題?
看到 hp 問答有提到,bash 當root shell,在進入單人模式「可能」會停止,如果 /usr 跟 /opt 都不另外切割,那...是不是就可以避過這個問題啊?
2則回覆 2
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-22-2007 08:11 AM
在 05-22-2007 08:11 AM
bash 當作root shell 有問題?
Hi,
In hpux, the login shell of root user should
use as a archived library excutable.
/sbin/sh is a archived library executable.
/usr/bin/sh is a shared library executable.
So, please use /sbin/sh as login shell of root, DO NOT change it.
Reason:
when a shared libbrary executable excuting, the shared library must there. The shared library is resident in /usr file system.
Event throuth, if /usr is the same as / file system, we still recommand use /sbin/sh as root's login shell, because what if the shared library is corruppted.
Hope this can make things clear.
..
.
In hpux, the login shell of root user should
use as a archived library excutable.
/sbin/sh is a archived library executable.
/usr/bin/sh is a shared library executable.
So, please use /sbin/sh as login shell of root, DO NOT change it.
Reason:
when a shared libbrary executable excuting, the shared library must there. The shared library is resident in /usr file system.
Event throuth, if /usr is the same as / file system, we still recommand use /sbin/sh as root's login shell, because what if the shared library is corruppted.
Hope this can make things clear.
..
.
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-23-2007 03:01 PM
在 05-23-2007 03:01 PM
bash 當作root shell 有問題?
Hi,
如同Yoda的回覆
所有在/sbin下的程式都是STATICALLY linked,意思是所有的libraries都是程式的一部份
而在/usr/bin下的程式都是dynamically linked,如果要執行這些程式需要/usr/lib下的shared libraries
因為shared libraries可能會損毀或不存在,因此HP不建議使用其他的shell當login shell
如同Yoda的回覆
所有在/sbin下的程式都是STATICALLY linked,意思是所有的libraries都是程式的一部份
而在/usr/bin下的程式都是dynamically linked,如果要執行這些程式需要/usr/lib下的shared libraries
因為shared libraries可能會損毀或不存在,因此HP不建議使用其他的shell當login shell
以上表述為作者個人觀點,不代表惠普公司,使用本網站,請遵守網站使用規則和條款
© 版权所有 2024 慧与发展有限责任合伙企业