我的系统上有一个组,但我不知道它具有哪个权限。在哪里可以找到所有组权限?
我想要这样的输出:
folders owned by group 'test'
/home/test/Documents/
/home/test/Pictures/
/var/www/website/
var/www/python/
Run Code Online (Sandbox Code Playgroud) 我刚刚在 VPS 上安装了 Ubuntu Server。
要配置服务器,我正在阅读 Ubuntu 服务器指南。但是 Ubuntu 服务器指南并没有告诉我一切。
例如,Ubuntu 服务器指南没有告诉我如何保护 SSH,在我看来,这是在安装服务器后要做的一件重要的事情。
我知道我必须保护 SSH 访问,但我可能会忘记要配置的东西。因为我不知道我不知道什么。
是否有完整的指南告诉我在安装 Ubuntu 服务器后我必须做哪些重要的事情?如果没有,谁能告诉我这些事情?
我的风扇在用力吹,而我的 cpu 温度是 32 度
我尝试了很多方法来控制我的风扇。
更改了 grub 文件
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi= pci=noacpi"
Run Code Online (Sandbox Code Playgroud)
_
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"Linux\""
Run Code Online (Sandbox Code Playgroud)
冉sensors-detect:
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)
Unloading i2c-dev... OK
Unloading i2c-i801... OK
Unloading cpuid... OK
Run Code Online (Sandbox Code Playgroud)
冉 …
今天发布了新版本的 Linux 内核 3.4。我该如何安装?
我想pserver从组中删除用户apache。
#deluser pserver apache
/usr/sbin/deluser: You may not remove the user from their primary group.
Run Code Online (Sandbox Code Playgroud)
现在我想添加一个新的主要组,所以我运行了以下命令;
#usermod -G pserver pserver
Run Code Online (Sandbox Code Playgroud)
返回以下内容:
pserver` is now in group `pserver
#groups pserver
pserver : apache pserver
Run Code Online (Sandbox Code Playgroud)
现在我想从 apache 组中再次删除用户,但我再次遇到同样的错误。如何pserver从主要组中删除apache?
我想将 Terminator 的默认 shell 更改为 zsh。在/etc/passwd/我已将默认 shell 更改为/bin/zsh. 此设置更改 LXTerminal(Lubuntu 上的默认终端)中的默认 shell,但不会更改 Terminator。所以我尝试了chsh -s /bin/zsh,但这也不起作用。
终结者文档说:
如何更改我的默认外壳?
Terminator 将始终启动由 SHELL 环境变量指定的 shell。(如果未设置 SHELL 环境变量,它将回退到 /bin/sh。)您可以简单地影响 Terminator 的环境,但最好的解决方案是告诉您的操作系统您想要哪个 shell,它会确保SHELL 已针对所有应用程序正确设置,而不仅仅是 Terminator。有关如何更改默认 shell 的详细信息,请参阅您的操作系统的文档。
所以我预计我的尝试会奏效,但他们没有。如何更改 Terminator 中的默认 shell。
我多次被禁止编辑文件。即使我 chmoded 到 777 并使用sudo. 如该文件/sys/kernel/debug/vgaswitcheroo/switch在
本教程中。
首先,这怎么可能?其次,我如何才能访问此类文件?
我正在尝试在我的桌面 X64 系统上安装带有 qemu-deboot-strap 的 armel 版本的 Ubuntu,但我发现了这个错误:
$ mkdir precise
$ sudo qemu-debootstrap --arch=armel precise ./precise/
Run Code Online (Sandbox Code Playgroud)
I:运行命令:
$ debootstrap --arch armel --foreign precise ./precise/
/usr/sbin/debootstrap: 1280: /usr/sbin/debootstrap: cannot create /media/ziomario/Nexus-10/Images/313/precise/test-dev-null: Permission denied
E: Cannot install into target '/media/ziomario/Nexus-10/Images/313/precise' mounted with noexec or nodev
Run Code Online (Sandbox Code Playgroud)
你知道怎么修吗?我的系统是这样的:
Linux ziomario-Macmini 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
这是/etc/fstab文件的内容:
<file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/ was on …Run Code Online (Sandbox Code Playgroud) 我有 Lubuntu 12.04
我在安装系统时不小心将键盘设置为错误的语言,现在我每次启动计算机时都必须更改该键盘设置。
如何更改 Lubuntu 12.04 中的默认键盘语言?
command-line ×2
permissions ×2
chroot ×1
default ×1
fan ×1
files ×1
fstab ×1
kernel ×1
language ×1
lubuntu ×1
mount ×1
server ×1
terminator ×1
zsh ×1