0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

testparmコマンドの書式とオプション

Posted at

●testparmコマンド
Sambaの設定ファイルである「/etc/samba/smb.conf」ファイルの構文をチェックする。

testparmコマンドの構文チェックに成功すれば、設定が確実にロードされることが保証されます。ただし、ロード後の動作が期待通りに動くことまでは保証されないため、動作確認は別途必要。

●testparmコマンドの書式とオプション。

testparm [オプション] [設定ファイル]

・-s 構文をチェックした後、Enterキーを押さなくてもsmb.confの内容を表示
・-v 構文をチェックした後、smb.confに記述されていない(定義されていない)パラメータも表示

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?