AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题

问题[openldap](unix)

Martin Hope
jnd
Asked: 2023-04-21 17:13:14 +0800 CST

尝试将新的对象类添加到 openLDAP 时获取“ldap_add:服务器不愿执行(53)附加信息:没有全局优势知识”

  • 5

我创建了新的模式,看起来像这样

attributetype ( 2.25.3236588
        NAME 'x-candidateNumber'
        DESC 'Candidate number'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )


attributetype ( 2.25.3536282
        NAME 'x-candidateFullName'
        DESC 'Candidate name'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.6587875
        NAME 'x-candidateTitleBeforeName'
        DESC 'Candidate title before name'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.6164147
        NAME 'x-candidateTitleAfterName'
        DESC 'Candidate title after name'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.1702122
        NAME 'x-candidateBirthNumber'
        DESC 'Candidate title after name'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.3134432
        NAME 'x-candidateListedAt'
        DESC 'Candidate listed at'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.3682754
        NAME 'x-candidateErasedAt'
        DESC 'Candidate erased at'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.5497561
        NAME 'x-candidateNote'
        DESC 'Candidate note'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.25.9736218
        NAME 'x-candidateStatus'
        DESC 'Candidate status'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

objectclass ( 2.25.1798306
        NAME 'ekcrCandidate'
        DESC 'RFC1274: simple security object'
        SUP ( top $ person $ organizationalPerson $ inetOrgPerson )
        STRUCTURAL
        MUST (cn $ ou)
        MAY ( x-candidateNumber $ x-candidateFullName $ x-candidateTitleBeforeName $
                x-candidateBirthNumber $ x-candidateTitleAfterName $ x-candidateListedAt $
                x-candidateErasedAt $ x-candidateNote $ x-candidateStatus
         ))

我将此架构添加到schema_convert.conf文件中:

include /etc/ldap/schema/core.schema
include /etc/ldap/schema/collective.schema
include /etc/ldap/schema/corba.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/duaconf.schema
include /etc/ldap/schema/dyngroup.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/java.schema
include /etc/ldap/schema/misc.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/openldap.schema
include /etc/ldap/schema/pmi.schema
include /etc/ldap/schema/ekcrconcipient.schema
include /etc/ldap/schema/ekcrcandidate.schema
include /etc/ldap/schema/ekcrlegalofficer.schema

然后我将模式转换为ldif文件

slaptest -f schema_convert.conf -F /tmp/ldif_output

它生成了一个文件,我按照步骤 4 中的说明修改了该文件。生成的文件cn={14}ekcrlegalofficer.ldif现在如下所示:

dn: cn=ekcrlegalofficer
objectClass: olcSchemaConfig
cn: ekcrlegalofficer
olcAttributeTypes: {0}( 2.25.7702021 NAME 'x-legalOfficerNumber' DESC 'Legal o
 fficer number' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{
 32768} )
olcAttributeTypes: {1}( 2.25.960171 NAME 'x-legalOfficerFullName' DESC 'Legal
 officer name' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{3
 2768} )
olcAttributeTypes: {2}( 2.25.196694 NAME 'x-legalOfficerTitleBeforeName' DESC
 'Legal officer title before name' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1
 .1466.115.121.1.15{32768} )
olcAttributeTypes: {3}( 2.25.7643140 NAME 'x-legalOfficerTitleAfterName' DESC
 'Legal officer title after name' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.
 1466.115.121.1.15{32768} )
olcAttributeTypes: {4}( 2.25.1064416 NAME 'x-legalOfficerListedAt' DESC 'Legal
  officer listed at' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.
 1.15{32768} )
olcAttributeTypes: {5}( 2.25.1005975 NAME 'x-legalOfficerErasedAt' DESC 'Legal
  Officer erased at' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.
 1.15{32768} )
olcAttributeTypes: {6}( 2.25.5513419 NAME 'x-legalOfficerNote' DESC 'Legal Off
 icer note' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{3276
 8} )
olcAttributeTypes: {7}( 2.25.4535859 NAME 'x-legalOfficerStatus' DESC 'Legal O
 fficer status' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{
 32768} )
olcObjectClasses: {0}( 2.25.6182638 NAME 'ekcrLegalOfficer' DESC 'RFC1274: sim
 ple security object' SUP ( top $ person $ organizationalPerson $ inetOrgPerso
 n ) STRUCTURAL MUST ( cn $ ou ) MAY ( x-legalOfficerNumber $ x-legalOfficerFu
 llName $ x-legalOfficerTitleBeforeName $ x-legalOfficerTitleAfterName $ x-leg
 alOfficerListedAt $ x-legalOfficerErasedAt $ x-legalOfficerNote $ x-legalOffi
 cerStatus ) )

然后我尝试添加这个新objectClass的

ldapadd -D "cn=admin,cn=config" -W -f cn={14}ekcrlegalofficer.ldif

这导致了这个

ldap_add: Server is unwilling to perform (53)
        additional info: no global superior knowledge

我知道,当您尝试将新记录添加到错误的数据库中时,可能会发生此错误,但由于我正在尝试创建新的对象类,所以这不应该是我的情况。

过去它实际上对我有用,但后来我使用重新配置了我的 openLDAP 服务器

dpkg-reconfigre slapd

从那时起我就面临着这个问题。

我现在第三天就坚持了这一点,我真的很绝望,如果有任何帮助,我将不胜感激。

openldap
  • 1 个回答
  • 17 Views
Martin Hope
j4nd3r53n
Asked: 2023-04-14 18:07:42 +0800 CST

如何在 slapd.d 中设置日志级别?

  • 5

我已经在 Debian 11 上设置了 openLDAP 2.4,我想更改一些参数,比如 loglevel 和 logfile,这看起来非常简单:

# man slapd.conf
SLAPD.CONF(5)                                                       File Formats Manual                                                      SLAPD.CONF(5)

NAME
       slapd.conf - configuration file for slapd, the stand-alone LDAP daemon

SYNOPSIS
       /etc/ldap/slapd.conf

DESCRIPTION
       The  file /etc/ldap/slapd.conf contains configuration information for the slapd(8) daemon.  This configuration file is also used by the SLAPD tools
       slapacl(8), slapadd(8), slapauth(8), slapcat(8), slapdn(8), slapindex(8), and slaptest(8).
...
       logfile <filename>
              Specify a file for recording debug log messages. By default these messages only go to stderr and are not recorded anywhere else.  Specifying
              a logfile copies messages to both stderr and the logfile.

       loglevel <integer> [...]
              Specify  the level at which debugging statements and operation statistics should be syslogged (currently logged to the syslogd(8) LOG_LOCAL4
              facility).  They must be considered subsystems rather than increasingly verbose log levels.  Some messages with higher priority  are  logged
...

除了没有名为slapd.conf;的文件 它已被替换为/etc/ldap/slapd.d,这更加整洁。slapd.conf但是,我没有找到参数如何适应的描述/etc/ldap/slapd.d;有一个调用的参数olcLogLevel可能/etc/ldap/slapd.d/cn=config.ldif是一个参数,但是来自 的其他所有参数呢slapd.conf?

无论如何,我的问题是:如何更改新方案中的日志级别和日志文件?

openldap
  • 1 个回答
  • 15 Views
Martin Hope
frankfalse
Asked: 2022-10-05 22:52:25 +0800 CST

我只能安装什么 LDAP 服务器来测试 LDAP 身份验证?

  • 1

我需要练习LDAP,所以我认为安装 LDAP 服务器只是为了做一些测试是个好主意。

对于客户端,我使用的是 LInux Mint 发行版,并且我已经安装了在此链接中找到的所有软件包。在我的公司中可以使用 Active Directory 服务,但显然我的用户没有以下命令所需的管理员权限:

sudo realm join domain.tld -U domain_administrator --verbose

所以我想安装一个 LDAP 服务器来做测试。

有人知道适合我用途的 LDAP 服务器吗?

谢谢。


在这个链接上,我找到了在 Linux Mint 上安装 OpenLDAP Server 和 OpenLDAP Client 的教程。

与往常一样,可以通过以下方式安装 OpenLDAP 服务器apt:

sudo apt update
sudo apt -y install slapd ldap-utils 

之后,必须配置服务器,并且链接提供了一些详细信息。显然这篇文章只是一个介绍,但足以开始学习 LDAP 服务器。

ldap openldap
  • 1 个回答
  • 58 Views
Martin Hope
Chanel
Asked: 2022-09-22 12:34:00 +0800 CST

在 RHEL 8 上安装 OpenLDAP——slapd.pid 问题

  • 0

我已经在一个新的 RHEL 8 实例上编译了当前版本的 OpenLDAP,并正在使用签名的 SSL 证书对其进行设置。当我开始拍打时,我得到unable to open pid file "/var/run/openldap/slapd.pid": 2 (No such file or directory). 惊喜,惊喜,openldap 目录不存在。

我创建了目录并将所有权设置为 ldap:ldap。现在,当我开始 slapd 时,我得到Can't open PID file /var/lib/openldap/slapd.pid (yet?) after start: No such file or directory. 服务不应该创建 pid 文件吗?

我尝试通过这样做进行故障排除,slapd -u ldap -g ldap -d 255但它没有返回任何错误。它启动 slapd 然后无限期挂起。这是输出:

632b738b.28af1a7e 0x7fb91fe62840 slapd starting
632b738b.28b084a2 0x7fb918147700 daemon: added 4r listener=(nil)
632b738b.28b0e5e8 0x7fb918147700 daemon: added 7r listener=0x1789270
632b738b.28b11145 0x7fb918147700 daemon: added 8r listener=0x1789360
632b738b.28b2645c 0x7fb918147700 daemon: epoll: listen=7 active_threads=0 tvp=zero
632b738b.28b27b69 0x7fb918147700 daemon: epoll: listen=8 active_threads=0 tvp=zero
632b738b.28b28d61 0x7fb918147700 daemon: activity on 1 descriptor
632b738b.28b2a342 0x7fb918147700 daemon: activity on:632b738b.28b2aaae 0x7fb918147700
632b738b.28b2c02b 0x7fb918147700 daemon: epoll: listen=7 active_threads=0 tvp=zero
632b738b.28b2d2eb 0x7fb918147700 daemon: epoll: listen=8 active_threads=0 tvp=zero

知道接下来要尝试什么吗?

如果有帮助,这是我的配置:

./configure --prefix=/usr --sysconfdir=/etc --disable-static --enable-debug --with-tls=openssl --with-cyrus-sasl --enable-dynamic --enable-crypt --enable-spasswd --enable-slapd --enable-modules --enable-rlookups --enable-backends=mod --disable-ndb --disable-sql --disable-shell --disable-bdb --disable-hdb --enable-overlays=mod

slapd.service

[Unit]
Description=OpenLDAP Server Daemon
After=syslog.target network-online.target
Documentation=man:slapd
Documentation=man:slapd-mdb

[Service]
Type=forking
PIDFile=/var/lib/openldap/slapd.pid
Environment="SLAPD_URLS=ldap:/// ldapi:/// ldaps:///"
Environment="SLAPD_OPTIONS=-F /etc/openldap/slapd.d"
ExecStart=/usr/libexec/slapd -u ldap -g ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS

[Install]
WantedBy=multi-user.target
openldap
  • 1 个回答
  • 37 Views
Martin Hope
Alexander
Asked: 2019-08-12 05:15:12 +0800 CST

在属性上限制 openldap ldapsearch

  • 2

我对我的目录有以下查询:

ldapsearch -x -H ldaps://example.com -D "cn=gitlab,ou=Service Accounts,dc=example,dc=com" -w foobar -b "ou=Persons,dc=example,dc=com"

使用以下 olcAccess 我得到以下结果:

dn: olcDatabase={1}mdb,cn=config
olcAccess: {0}to dn.subtree="ou=Persons,dc=example,dc=com" by dn="cn=gitlab,ou=Service Accounts,dc=example,dc=com" read
olcAccess: {1}to attrs=userPassword,shadowLastChange by self =xw by anonymous auth
olcAccess: {2}to * by self read by * none

(规则 1 应该是第一位的,它也可以这样工作,但可以肯定的是,我现在把它放下)

结果:

# Persons, example.com
dn: ou=Persons,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Persons

# Hans Wurst, Persons, example.com
dn: cn=Hans Wurst,ou=Persons,dc=example,dc=com
givenName: Hans
sn: Wurst
cn: Hans Wurst
uid: hwurst
userPassword:: <PASSWORDHASH>
uidNumber: 1001
gidNumber: 500
homeDirectory: /home/hwurst
loginShell: /bin/bash
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top

# Carla Kaese, Persons, example.com
dn: cn=Carla Kaese,ou=Persons,dc=example,dc=com
gidNumber: 500
givenName: Carla
homeDirectory: /home/ckaese
loginShell: /bin/bash
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
sn: Kaese
uid: ckaese
uidNumber: 1000
cn: Carla Kaese
userPassword:: <PASSWORDHASH>

现在我的目标是限制对某些属性的读取访问。因此,我将 acls 更改如下:

dn: olcDatabase={1}mdb,cn=config
olcAccess: {0}to dn.subtree="ou=Persons,dc=example,dc=com" attrs="entry,uid,cn" by dn="cn=gitlab,ou=Service Accounts,dc=example,dc=com" read
olcAccess: {1}to attrs=userPassword,shadowLastChange by self =xw by anonymous auth
olcAccess: {2}to * by self read by * none

我添加了attrs="entry,uid,cn"

但是,相同的搜索现在只返回:

# search result
search: 2
result: 0 Success

我究竟做错了什么?我错过了什么?它如何工作?

ldap openldap
  • 2 个回答
  • 640 Views
Martin Hope
Ingo
Asked: 2019-08-11 13:25:00 +0800 CST

在 OpenLDAP 中将组织单位 (ou) 添加到组织 (o)

  • 3

在 Debian Buster 安装中,我刚刚安装了 OpenLDAP 服务器slapd:

~$ sudo apt install slapd ldap-utils
~$ sudo dpkg-reconfigure slapd

在使用默认选项进行设置时,系统提示我提供组织名称。我用家,所以我得到

~$ ldapsearch -x -LLL -b dc=hoeft-online,dc=de
dn: dc=hoeft-online,dc=de
objectClass: top
objectClass: dcObject
objectClass: organization
o: home
dc: hoeft-online

dn: cn=admin,dc=hoeft-online,dc=de
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator

现在我尝试将组织单位 ( ou ) 添加到组织o: home中,如输出所示,但没有成功:

~$ cat add.ldif
dn: ou=posix,o=home,dc=hoeft-online,dc=de
objectClass: organizationalUnit
ou: posix

~$ ldapadd -xWD cn=admin,dc=hoeft-online,dc=de -f add.ldif
Enter LDAP Password:
adding new entry "ou=posix,o=home,dc=hoeft-online,dc=de"
ldap_add: No such object (32)
        matched DN: dc=hoeft-online,dc=de

向domainComponent ( dc )添加ou可以:

~$ cat add.ldif
dn: ou=posix,dc=hoeft-online,dc=de
objectClass: organizationalUnit
ou: posix

~$ ldapadd -xWD cn=admin,dc=hoeft-online,dc=de -f add.ldif
Enter LDAP Password:
adding new entry "ou=posix,dc=hoeft-online,dc=de"

我在这里缺少什么?是否可以将组织单元(ou)添加到组织(o)?如果不是,为什么?它在哪里定义?

openldap
  • 1 个回答
  • 7716 Views
Martin Hope
orion
Asked: 2019-03-26 15:35:34 +0800 CST

LDAP 每用户覆盖

  • 0

我正在使用openldap+nslcd连接到 LDAP 服务器以对某些用户进行身份验证(这些用户希望他们的密码和大部分配置在许多设备上共享)。我不控制 LDAP 服务器。

但是,同步是在用户已经拥有双帐户之后进行的,因此主文件夹的名称不匹配(由于脚本中可能存在硬编码路径,因此移动它们是不明智的)。我正在考虑一个硬链接目录,但我想知道是否有办法为特定用户覆盖主文件夹,这看起来更干净,听起来应该是一个常见的用例。

我很惊讶nslcd.conf似乎只接受一个过滤器(每个 map= passwd),并且map指令将简单地立即替换所有用户的主页。

有没有办法在 LDAP 查找后优雅地“修复”单个条目?我的搜索大多遇到了替换所有用户模式的答案,或者给出了无用的答案(例如这个简单地覆盖了以前的过滤器的答案)。

我认为我需要什么:

filter passwd (&(objectClass=inetOrgPerson)(<redacted>))
# the last part is wishful thinking, not actual syntax
map passwd homeDirectory "<redacted>" if (uid=<redacted>)

我是 LDAP 的新手,所以我可能不完全理解事务发生的顺序以及应该执行此操作的是 PAM 还是 nslcd。我意识到这不是正确处理这种情况的最佳方法,但我仍然想知道是否可以做到。

pam openldap
  • 1 个回答
  • 389 Views
Martin Hope
James Korden
Asked: 2018-09-13 11:05:52 +0800 CST

包含第二个模式后,openLDAP 不会启动

  • 2

我有一台安装了 openLDAP 的 Mac(使用 Macports)。我已经启动了系统并且能够创建对象。我在 slapd.conf 中配置的唯一架构是 core.schema。

我正在寻找添加 nis.schema,但是当我尝试这个slapd -d3命令对我不起作用。具体来说,它说:

5b994529 @(#) $OpenLDAP: slapd 2.4.28 (Oct 14 2016 16:25:43) $
    [email protected]:/Library/Caches/com.apple.xbs/Binaries/OpenLDAP/OpenLDAP-523.30.2~39/TempContent/Objects/servers/slapd
5b994529 daemon: SLAP_SOCK_INIT: dtblsize=256
5b994529 daemon_init: listen on ldap:///
5b994529 daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
5b994529 daemon: listener initialized ldap:///
5b994529 daemon_init: 2 listeners opened
5b994529 daemon_init: [0]DNSServiceRegister
ldap_create
5b994529 slapd init: initiated server.
5b994529 int pws_auxprop_init(const sasl_utils_t *, int, int *, sasl_auxprop_plug_t **, const char *): entered5b994529 slap_sasl_init: initialized!
5b994529 bdb_back_initialize: initialize BDB backend
5b994529 bdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008)
5b994529 hdb_back_initialize: initialize HDB backend
5b994529 hdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008)
5b994529 ==> OD Locales overlay initialize called 
5b994529 ==> translucent_initialize
5b994529 slapd destroy: freeing system resources.
5b994529 slapd stopped.
5b994529 connections_destroy: nothing to destroy.
tlsst_destroy()

我无法找到任何日志来缩小原因。我怎样才能导入这个模式并且仍然让 slapd 成功运行?

编辑

我已经运行 slapd -d-1 进行额外的日志记录。如果需要,我可以提供完整的日志,但我认为以下内容可能是罪魁祸首:

5b9a54a1 /opt/local/etc/openldap/schema/nis.schema: line 203 (objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost' DESC 'Abstraction of a host, an IP device' SUP top AUXILIARY MUST ( cn $ ipHostNumber ) MAY ( l $ description $ manager ) ))
5b9a54a1 /opt/local/etc/openldap/schema/nis.schema: line 203 objectclass: AttributeType not found: "manager"

这是我缺少的依赖项吗?

openldap
  • 1 个回答
  • 402 Views
Martin Hope
hlzhlm
Asked: 2018-08-15 02:16:20 +0800 CST

OpenLDAP:删除的用户仍列在组中

  • 2

我目前正在通过命令行执行 openldap。我添加了用户 John 并添加了组 devgroup,并将 John 分配到 devgroup 组中。当我通过命令行删除用户(John)时

ldapdelete -Y EXTERNAL -H ldapi:/// -D "cn=admin,dc=example,dc=local" 
"uid=john,dc=example,dc=local"

用户已离开,但不在先前分配的组成员 (devgroup) 中。

我注意到用户和组分配的用户没有联系。基本上我可以在组中添加任何不存在的用户。有没有办法可以将这两者联系起来?

谢谢!

ldap openldap
  • 2 个回答
  • 4337 Views
Martin Hope
mostworld77
Asked: 2018-06-22 06:00:08 +0800 CST

openLDAP bdb_equality_candidates: (memberOf) 未编入索引

  • 2

我已经通过 slapd.conf 在 centos 上安装了一个具有 memberof 功能的 openldap 服务器:需要配置的一部分吗?:

index objectClass                       eq,pres
index ou,cn,surname,givenname           eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub

在 openldap 日志中:

SRCH attr=uid displayName mail member
Jun 21 15:53:52 rhsfugt001 slapd[26924]: <= bdb_equality_candidates: (memberOf) not indexed

我还没有找到解决此问题的解决方案...

openldap
  • 2 个回答
  • 8863 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve