avatar
关于root帐号的管理问题# Unix - 噫吁兮,危乎高哉
s*r
1
公司不允许我们sudo to root from our own user id to do anything. what they do
is to grant root permission for specific command which we need to run as
root. this causes a lot of unconvinence for us. my previous company do allow
us to sudo to root, then do anything we want. I wonder if any expert here
can help me understand how come my previous company can allow us to run as
root for all, but this company can not. is there a way to prevent user to
login as root directely if they know root's password?
avatar
t*s
2
root usually is only for systems admin, your current company does right
things.
you do not have to compare to another company. in some companies, you may
have root password too, even not use sudo. but for security reason, if you
are not a systems admin, then you should not have root password or sudo to
all as root.
yes, we can configure root not directly login from remotely, but only
allowed from console. if you log in through ssh, then ssh needs to be
configured as well, so root can not log in

【在 s**********r 的大作中提到】
: 公司不允许我们sudo to root from our own user id to do anything. what they do
: is to grant root permission for specific command which we need to run as
: root. this causes a lot of unconvinence for us. my previous company do allow
: us to sudo to root, then do anything we want. I wonder if any expert here
: can help me understand how come my previous company can allow us to run as
: root for all, but this company can not. is there a way to prevent user to
: login as root directely if they know root's password?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。