全球主机交流论坛

标题: 甲骨文 新加坡 大佬们就别说删了重建了 [打印本页]

作者: lKKl    时间: 2021-12-11 14:00
标题: 甲骨文 新加坡 大佬们就别说删了重建了
本帖最后由 lKKl 于 2021-12-11 14:21 编辑

大佬们救命啊,甲骨文新家披Ubuntu-20.04之前是执行sudo -i 就内存cpu占用百分之百,没办法开通root登录。
经过两天的研究废了九牛二虎之力通过Cloud Shell手动修改/etc/ssh/sshd_config文件实现了root登录
但是现在用普通用户能正常登录,不过执行sudo -i 就内存cpu占用百分之百。
root用户可以登录成功,但是登录成功就立马内存占用100百分之百。

找不到问题在哪啊,望各位给指条明路。


新加坡貌似又放水了。删掉重建成功了!!!!!!
作者: louiejordan    时间: 2021-12-11 14:01
没遇到过你这样的情况
作者: kanro    时间: 2021-12-11 14:02
24G内存也能100%?
作者: 张阿呆    时间: 2021-12-11 14:02
reboot一下试试
作者: lKKl    时间: 2021-12-11 14:03
张阿呆 发表于 2021-12-11 14:02
reboot一下试试

软重启 硬重启都试过 问题依旧
作者: emptysuns    时间: 2021-12-11 14:04
  1. man sudo

  2. -i, --login
  3.                  Run the shell specified by the target user's password database entry as a login shell.  This means that lo‐
  4.                  gin-specific resource files such as .profile, .bash_profile or .login will be read by the shell.  If a com‐
  5.                  mand is specified, it is passed to the shell for execution via the shell's -c option.  If no command is spec‐
  6.                  ified, an interactive shell is executed.  sudo attempts to change to that user's home directory before run‐
  7.                  ning the shell.  The command is run with an environment similar to the one a user would receive at log in.
  8.                  Note that most shells behave differently when a command is specified as compared to an interactive session;
  9.                  consult the shell's manual for details.  The Command environment section in the sudoers(5) manual documents
  10.                  how the -i option affects the environment in which a command is run when the sudoers policy is in use.
复制代码


-i直接调用.bash_profile文件,可能读取阻塞啦?

如果要切换root 直接sudo su root不就好了
作者: lKKl    时间: 2021-12-11 14:04
kanro 发表于 2021-12-11 14:02
24G内存也能100%?

肯定是哪里有问题,只要切换到root权限立马百分之百
作者: colla    时间: 2021-12-11 14:04
现在不是能开arm了吗,赶紧删了再开一个啊
作者: stingeo    时间: 2021-12-11 14:06
我觉得还是删鸡重建吧。。。。
作者: lKKl    时间: 2021-12-11 14:06
colla 发表于 2021-12-11 14:04
现在不是能开arm了吗,赶紧删了再开一个啊

目前已经新开不了
作者: 便宜主机推荐    时间: 2021-12-11 14:06
赶紧删了再开一个啊
作者: puerboy    时间: 2021-12-11 14:06
提示: 作者被禁止或删除 内容自动屏蔽
作者: Anoneko    时间: 2021-12-11 14:10
lKKl 发表于 2021-12-11 14:06
目前已经新开不了

不想重建就DD
作者: wangjf    时间: 2021-12-11 14:11
一边删,一边重建
作者: lKKl    时间: 2021-12-11 14:14
emptysuns 发表于 2021-12-11 14:04
-i直接调用.bash_profile文件,可能读取阻塞啦?

如果要切换root 直接sudo su root不就好了 ...

ubuntu@instance-20211207-1859:~$ sudo su root

连接断开

不行呀。还是一样的貌似只要涉及到 sudo 系统就死机
作者: CapitalTeemo    时间: 2021-12-11 15:05
den
作者: CapitalTeemo    时间: 2021-12-11 15:15
重启
作者: maxsuen    时间: 2021-12-11 21:45
你删了用18.04 20.04我也用着各种问题
作者: maxsuen    时间: 2021-12-11 21:48
lKKl 发表于 2021-12-11 14:06
目前已经新开不了

我今天晚上刚建了两个 应该行吧
作者: 周星辰    时间: 2021-12-11 21:57
我用的,参考一下
https://www.openos.org/threads/oracle-cloud-aws-root.2176/
作者: LikeOracle    时间: 2021-12-11 22:01
恭喜
作者: MJJ.    时间: 2021-12-11 22:01
首尔arm一直没货
作者: 包子也有春天    时间: 2021-12-11 22:31
lKKl 发表于 2021-12-11 14:06
目前已经新开不了

新增随便开
作者: cy798    时间: 2021-12-12 14:09
不能dd?
作者: 草丛中一杯茶    时间: 2021-12-12 14:39

遇到放水赶忙删,删了一夜了也没搞定,果断重新搞一台,今天还能成功




欢迎光临 全球主机交流论坛 (https://91ai.net/) Powered by Discuz! X3.4