假设我有一台机器(Arago dist),用户密码为 12 个字母数字字符。当我使用密码身份验证通过 ssh 登录时,几天前我注意到,我只能输入 8 个密码字符或整个密码,然后输入我想要的任何内容。这两种情况下的共同结果是成功登录。为什么会这样?
在这种特殊情况下,我不想基于多种原因使用公钥身份验证。
作为附加信息,在此发行版中缺少文件/etc/shadow和/etc/security/policy.conf。
这里是服务器 ssh 配置:
[user@machine:~] cat /etc/ssh/sshd_config
# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. …
Run Code Online (Sandbox Code Playgroud) 当前使用 Debian 9.5 和此fstab
文件:
# /etc/fstab: static file system information.
#
/dev/mmcblk1p1 / ext4 noatime,errors=remount-ro 0 1
tmpfs /var/volatile tmpfs defaults,x-mount.mkdir 0 0
Run Code Online (Sandbox Code Playgroud)
现在,如果该文件夹/var/volatile
不存在,则会创建该文件夹 ( x-mount.mkdir
)。/var/volatile/subfolder
在安装过程成功后创建子文件夹(例如)的正确方法是什么?
我希望在 systemd 继续执行其任务直至完成启动之前创建此子文件夹。
我安装了最低限度的 Ubuntu,并且我正在使用mplayer
或分别mpv
播放mp4
文件。fbdev2
drm
mplayer
mpv
我有两台显示器连接到 PC - 1 个 HDMI 和 1 个 DP1。当我玩 时mpv
,内容仅显示在一个屏幕上。当我玩 时mplayer
,相同的内容会镜像到两个屏幕上。
理想情况下,我希望mp4
以数字标牌的方式在不同的显示器上同时播放不同的文件(短10-30秒)。
我需要添加第二个帧缓冲区吗?
我当前mplayer
从 CLI 运行的命令是:
mplayer -vo fbdev2 rotate=1 -fs -nosound -loop 0 /data/narwhals.mp4
Run Code Online (Sandbox Code Playgroud)
NB:我尝试添加-display :0.x where x is 0-1
但无济于事。
我当前mpv
从 CLI 运行的命令是:
mpv -vo=drm -fs-screen=1 /data/narwhals.mp4 --video-rotate=180 --no-audio
Run Code Online (Sandbox Code Playgroud)
NB:我尝试添加--screen=x where x is 0-1
但无济于事。
这里的任何指导将不胜感激。
下面是xrandr
中终端的输出startxfce4
。通过ssh
或在控制台 …