Не удается использовать «su ” в Arch Linux

Sí.

http://man7.org/linux/man-pages/man7/ip.7.html

Socket options

...

IP_FREEBIND (since Linux 2.4)

If enabled, this boolean option allows binding to an IP address that is nonlocal or does not (yet) exist. This per‐ mits listening on a socket, without requiring the underlying network interface or the specified dynamic IP address to be up at the time that the application is trying to bind to it. This option is the per-socket equivalent of the ip_nonlo‐ cal_bind /proc interface described below.

ver también

IP_TRANSPARENT (since Linux 2.6.24)

Setting this boolean option enables transparent proxying on this socket. This socket option allows the calling applica‐ tion to bind to a nonlocal IP address and operate both as a client and a server with the foreign address as the local end‐ point. NOTE: this requires that routing be set up in a way that packets going to the foreign address are routed through the TProxy box (i.e., the system hosting the application that employs the IP_TRANSPARENT socket option). Enabling this socket option requires superuser privileges (the CAP_NET_ADMIN capability).

TProxy redirection with the iptables TPROXY target also requires that this option be set on the redirected socket.

(basado en la otra página del manual, supongo que ya sea de CAP _NET _ADMIN o CAP _NET _RAW son suficientes. Y realmente espero que sean necesarios para IP _FREEBIND también ).

0
01.06.2019, 02:30
1 ответ

Я столкнулся с той же проблемой. В установщике есть ошибка, которая устанавливает корневую оболочку в /usr/bin/

https://github.com/spookykidmm/zen_installer/issues/2

sudo chsh -s /bin/bash root #this should fix, if your user has sudo
su -s /bin/bash - # or specify the shell in su
0
28.01.2020, 03:38

Теги

Похожие вопросы