← 返回命令列表

Linux command

modutil 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List modules

modutil -list -dbdir [sql:/etc/pki/nssdb]

Add module

modutil -add [module_name] -libfile [/path/to/lib.so] -dbdir [sql:/etc/pki/nssdb]

Delete module

modutil -delete [module_name] -dbdir [sql:/etc/pki/nssdb]

Enable module

modutil -enable [module_name] -dbdir [sql:/etc/pki/nssdb]

说明

modutil manages PKCS#11 security modules in NSS databases. Add, remove, and configure hardware tokens and software modules. Part of Mozilla NSS tools.

参数

-list
List installed modules.
-add _name_
Add PKCS#11 module.
-delete _name_
Remove module.
-enable _name_
Enable module.
-disable _name_
Disable module.
-libfile _path_
Module library path.
-dbdir _dir_
NSS database directory.

FAQ

What is the modutil command used for?

modutil manages PKCS#11 security modules in NSS databases. Add, remove, and configure hardware tokens and software modules. Part of Mozilla NSS tools.

How do I run a basic modutil example?

Run `modutil -list -dbdir [sql:/etc/pki/nssdb]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -list do in modutil?

List installed modules.