首页 \ 问答 \ Linux操作系统下Sudo命令的使用方法?

Linux操作系统下Sudo命令的使用方法?

Linux操作系统下Sudo命令的使用方法是什么~??
更新时间:2024-02-05 17:02

最满意答案

我认为是这样的,你要么加全路径执行
/usr/local/openldap/bin/ldapadd

要么进入到/usr/local/openldap/bin/目录里
执行 ./ldapadd
我想上面两个方法都可以,如果还不行,请追问。

其他回答

你好!

有可能程序出错了,可以重弄一下。你再试试

希望对你有所帮助,望采纳。

相关问答

更多
  • 可能是JDK安装错误,卸载看能不能卸载,重新安装一次。javac一下,看有没有
  • 我认为是这样的,你要么加全路径执行 /usr/local/openldap/bin/ldapadd 要么进入到/usr/local/openldap/bin/目录里 执行 ./ldapadd 我想上面两个方法都可以,如果还不行,请追问。
  • 简短的回答是“是”。 用于查询Active Directory服务器的示例ldapsearch命令是: ldapsearch \ -x -h ldapserver.mydomain.com \ -D "mywindowsuser@mydomain.com" \ -W \ -b "cn=users,dc=mydomain,dc=com" \ -s sub "(cn=*)" cn mail sn 这将以用户mywindowsuser@domain.com连接到主机名ld ...
  • 路径/usr/local/bin/composer不在您的PATH中,该文件夹中的可执行文件将不会被找到。 删除文件夹/usr/local/bin/composer ,然后运行 $ mv composer.phar /usr/local/bin/composer 这将composer.phar移动到/usr/local/bin/ ,并将其重命名为composer (它仍然是可执行文件,而不是文件夹)。 然后就像使用它: $ composer ... The path /usr/local/bin/com ...
  • 你应该看看: OpenLDAP translucent叠加层,或 LDAP后端 , 而不是建立一个全新的DIT。 另请参阅Zytrax OpenLDAP for Rocket Scientists指南,该指南相当完整且可靠。 You should be looking into either: the OpenLDAP translucent overlay, or the LDAP backend, rather than building an entire new DIT. See also the ...
  • 根据man页, ldapmodify的默认行为实际上不是使用文件,而是从stdin获取信息 - 即来自输入的人。通过在命令行上使用-f ,实际上是在规避正常情况行为。 尝试做: ldapmodify -h hostName -p 10389 -D "uid=admin,ou=system" -w ***** -a 然后粘贴或输入信息。 (当您输入信息时,可能必须输入Ctrl D才能告诉ldapmodify您已完成。) According to the man page, the default behav ...
  • bug的解释 某些版本/ wc实现使得格式化输出并在您尝试的值之前放置空格: $ wc -l < <(find /sys/block/ -name 'sd*') 3 请注意, wc输出包含空格。 现在尝试: $ findhdds= 3 bash: 3: command not found 获取SO问题中报告的错误。 两种解决方案(以及更多......): .1计算答案以确保它成为一个数字: findhdds=$((0+$(find /sys/block/ -name 'sd*' | wc -l))) ...
  • 我的一个朋友找到了答案。 关于代码13错误在命令末尾缺少一个允许TLS连接的选项,因此,正确的命令行是: ldapadd -h 'localhost' -p 389 -D 'cn=admin,dc=example,dc=com' -w 'password' -f /var/www/html/test/ldap.ldif -Z 因此,最后选项-Z或-ZZ启用TLS并且错误消失了,所以它使用我的.ldif文件在ldap上处理输入 谢谢你们。 A friend of mine found the answer. ...
  • 大多数软件包,包括Debian的软件包,都添加了/usr/bin/pip (或pip3 ,见下文)。 请参阅: https : //packages.debian.org/jessie/all/python-pip/filelist 我认为通过get-pip.py的pip安装程序也能做到这一点。 该文件基本上通过console_scripts通过python中继它。 检查你的/ usr / bin和/ usr / local / bin是否有点子。 (如果您在软件包管理器外部安装了pip,或者没有root ...
  • shell查看PATH中以冒号分隔的目录列表以查找可执行文件。 由于您已使用名称PATH作为目标目标,因此它正在寻找svn。 只需为变量选择一个不同的名称。 也就是说,不要覆盖PATH。 The shell looks through the colon separated list of directories in PATH to find executables. Since you have used the name PATH to be the target destination, that ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)