1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/doc/etc.rd.ja

76 lines
1.8 KiB
Text
Raw Normal View History

# etc.rd.ja - -*- mode: rd; coding: euc-jp; -*- created at: Fri Jul 14 00:47:15 JST 1995
=begin
= Etc(<28><EFBFBD><EFBFBD><E5A1BC>)
<EFBFBD>¹Ԥ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD>OS<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><EFBFBD>󥯥롼<EFBFBD><EFBFBD>
<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>
=end