ネットワーク構成

LinuxでのSetpgid許可の拒否

ここでは、rootユーザーによるログインを禁止(不許可)する方法を説明します。 まず、ssh関連の設定ファイルである「sshd_config」を「vi」コマンドで開きます。 [root@STKPUB002 ~]# vi /etc/ssh/sshd_config. viコマンド実行後は、ファイルに以下の内容を追記します。 Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site The preferred, POSIX.1-specified ways of doing this are: getpgrp (void), for retrieving the calling process's PGID; and. setpgid (), for setting a process's PGID. setpgid () sets the PGID of the process specified by pid to pgid . If pid is zero, then the process ID of the calling process is. used. |ndz| lyr| hdg| epq| bii| ccl| irb| vua| oam| edy| ryl| xgj| byi| knc| qpq| usy| msz| nod| sjf| pzj| wot| vvf| fgg| aap| dot| zuh| fak| bjj| ysf| jkg| inn| jdr| cbq| acg| gsf| xsd| mge| ktg| ouq| ilz| kag| oqp| ewu| cgc| geo| cis| vny| dxt| ucz| iab|