getent passwd oracle
oracle:x:501:501:Oracle software owner:/home/oracle:/bin/bash
Эта утилита также полезна для получения сведений о некоторых других системных ресурсах, см. getent --help
getent --help
Usage: getent [OPTION...] database [key ...]
Get entries from administrative database.
-s, --service=CONFIG Service configuration to be used
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
For bug reporting instructions, please see:
Supported databases:
ahosts ahostsv4 ahostsv6 aliases ethers group hosts netgroup networks passwd protocols rpc services shadow
Комментариев нет:
Отправить комментарий