зеркало из https://github.com/github/ruby.git
73 строки
1.8 KiB
Plaintext
73 строки
1.8 KiB
Plaintext
|
.\" etc.doc - -*- Indented-Text -*- created at: Fri Jul 14 00:47:15 JST 1995
|
|||
|
|
|||
|
** Etc(<28>⥸<EFBFBD>塼<EFBFBD><E5A1BC>)
|
|||
|
|
|||
|
/etc<74>ǥ<EFBFBD><C7A5>쥯<EFBFBD>ȥ<EFBFBD><C8A5>ʲ<EFBFBD><CAB2>ξ<EFBFBD><CEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>Υ⥸<CEA5>塼<EFBFBD>롥<EFBFBD><EBA1A5><EFBFBD>饹<EFBFBD>˥<EFBFBD><CBA5>롼<F3A5AFA5><EBA1BC>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ƻȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>롥
|
|||
|
|
|||
|
Module Function:
|
|||
|
|
|||
|
getlogin
|
|||
|
|
|||
|
<09><>ʬ<EFBFBD><CAAC>login̾<6E><CCBE><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줬<EFBFBD><ECA4AC><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>getpwuid()<29><><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<09>ɤ<EFBFBD><C9A4><EFBFBD>
|
|||
|
|
|||
|
getpwnam(name)
|
|||
|
|
|||
|
/etc/passwd<77>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD>뤤<EFBFBD><EBA4A4>DBM<42>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>NIS<49>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>١<EFBFBD><D9A1><EFBFBD>)<29><><EFBFBD><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>name<6D><65>̾<EFBFBD><CCBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>passwd<77><64><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>passwd<77><64>¤
|
|||
|
<09>Τǰʲ<C7B0><CAB2>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD>ġ<EFBFBD>
|
|||
|
|
|||
|
struct passwd
|
|||
|
name # <20>桼<EFBFBD><E6A1BC>̾(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
passwd # <20>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
uid # <20>桼<EFBFBD><E6A1BC>ID(<28><><EFBFBD><EFBFBD>)
|
|||
|
gid # <20><><EFBFBD>롼<EFBFBD><EBA1BC>ID(<28><><EFBFBD><EFBFBD>)
|
|||
|
gecos # gecos<6F>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
dir # <20>ۡ<EFBFBD><DBA1><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5>쥯<EFBFBD>ȥ<EFBFBD>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
shell # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F3A5B7A5><EFBFBD>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
# <20>ʹߤΥ<DFA4><CEA5><EFBFBD><EFBFBD>Фϥ<D0A4><CFA5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>ˤ<EFBFBD><CBA4>äƤ<C3A4><C6A4><EFBFBD><F3B6A1A4><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD>
|
|||
|
change # <20>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
quota # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
age # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
class # <20>桼<EFBFBD><E6A1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>饹(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
comment # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
expire # <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͭ<EFBFBD><CDAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
end
|
|||
|
|
|||
|
<09>ܺ٤<DCBA>getpwnam(3)<29>ȤΤ<C8A4><CEA4>ȡ<EFBFBD>
|
|||
|
|
|||
|
getpwuid([uid])
|
|||
|
|
|||
|
uid<69><64><EFBFBD>桼<EFBFBD><E6A1BC>ID<49>Ȥ<EFBFBD><C8A4><EFBFBD>passwd<77><64><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>getpwnam()<29><>
|
|||
|
Ʊ<>ͤǤ<CDA4><C7A4>롥<EFBFBD><EBA1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD>getuid()<29><><EFBFBD>ͤ<EFBFBD><CDA4>Ѥ<EFBFBD><D1A4>롥<EFBFBD>ܺ٤<DCBA>
|
|||
|
getpwuid(3)<29>ȤΤ<C8A4><CEA4>ȡ<EFBFBD>
|
|||
|
|
|||
|
getgrgid(gid)
|
|||
|
|
|||
|
/etc/group<75>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD>뤤<EFBFBD>ϡ<EFBFBD>getpwnam<61><6D><EFBFBD><EFBFBD>)<29><EFBFBD><F2B8A1BA><EFBFBD><EFBFBD><EFBFBD>gid<69>롼
|
|||
|
<09><>ID<49>Ȥ<EFBFBD><C8A4>륰<EFBFBD>롼<EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>group<75><70>¤<EFBFBD>Τǰʲ<C7B0><CAB2><EFBFBD>
|
|||
|
<09><><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD>ġ<EFBFBD>
|
|||
|
|
|||
|
struct group
|
|||
|
name # <20><><EFBFBD>롼<EFBFBD><EBA1BC>̾(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
passwd # <20><><EFBFBD>롼<EFBFBD>פΥѥ<CEA5><D1A5><EFBFBD><EFA1BC>(ʸ<><CAB8><EFBFBD><EFBFBD>)
|
|||
|
gid # <20><><EFBFBD>롼<EFBFBD><EBA1BC>ID(<28><><EFBFBD><EFBFBD>)
|
|||
|
mem # <20><><EFBFBD>롼<EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD><CCBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
end
|
|||
|
|
|||
|
<09>ܺ٤<DCBA>getgrgid(3)<29>ȤΤ<C8A4><CEA4>ȡ<EFBFBD>
|
|||
|
|
|||
|
getgrnam(name)
|
|||
|
|
|||
|
name<6D>Ȥ<EFBFBD><C8A4><EFBFBD>̾<EFBFBD><CCBE><EFBFBD>Υ<EFBFBD><CEA5>롼<EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>getgrgid()<29><>Ʊ
|
|||
|
<09>ͤǤ<CDA4><C7A4>롥<EFBFBD>ܺ٤<DCBA>getgrnam(3)<29>ȡ<F2BBB2BE>
|
|||
|
|
|||
|
group
|
|||
|
|
|||
|
<09><><EFBFBD>ƤΥ<C6A4><CEA5>롼<EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>Υ<EFBFBD><CEA5>ƥ졼<C6A5><ECA1BC><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
passwd
|
|||
|
|
|||
|
<09><><EFBFBD>Ƥ<EFBFBD>passwd<77><64><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>Υ<EFBFBD><CEA5>ƥ졼<C6A5><ECA1BC><EFBFBD><EFBFBD>
|