UJP - 場所が変更された項目 MojaveからmacoS Monterey 12.2へアップグレード

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

ブログ - 場所が変更された項目 MojaveからmacoS Monterey 12.2へアップグレード

場所が変更された項目 MojaveからmacoS Monterey 12.2へアップグレード

カテゴリ : 
Apple » mac mini » 2014
ブロガー : 
ujpblog 2022/2/24 17:24
 mac mini 2014をMojaveからMontereyに上書きアップグレード.

 macosのメモリ使用量をSNMPで取得しながらMRTGを設定していたのだけれど,メモリ使用量がSNMPで取得できなかった.
 何かヒントがあるのかと思って,デスクトップにある「場所が変更された項目」を確認.


 snmpd.confに関するものは1つもなかった.代わりに,shells.system_defaultとsyslog.confが移動されている模様.
 確認してみる.

macmini2014:~ root$ cat /Users/Shared/Relocated\ Items/Configuration/private/etc/shells.system_default🆑
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
macmini2014:~ root$
 変更した記憶がないけれどなぁ...どうなっているのか確認.
$ cat /private/etc/shells🆑
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
# /bin/false was added for FTP users that do not have a home directory.

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/bin/false
/usr/local/bin/pwsh
[macmini2014:root 17:16:19 ]
$
 /bin/dashが無くなって,/usr/local/bin/pwshが増えた模様.pwshはPowerShellなので入れたやつ,だが./bin/dashはDebianやUbuntuでデフォルトになっているシェルの模様.bashとは互換性が無いそうだけれど,削除されたのか.

 そしてもう1つsyslog.conf.

macmini2014:~ root$ cat /Users/Shared/Relocated\ Items/Configuration/private/etc/syslog.conf🆑
# Note that flat file logs are now configured in /etc/asl.conf

install.*						@127.0.0.1:32376

# used for the adaptive firewall: man emlog.pl
auth.*                                @127.0.0.1:60762

macmini2014:~ root$

 現在のファイルは次の通り.

$ cat /private/etc/syslog.conf🆑
# Note that flat file logs are now configured in /etc/asl.conf

install.*						@127.0.0.1:32376

# used for the adaptive firewall: man emlog.pl
auth.*                                @127.0.0.1:60762

[macmini2014:mrtg 17:15:22 ]
 中身に違いはないが,入れ替わってる模様.

 そして肝心のsnmpd.confは,まっさらの設定に置き換わっていました.丁寧に「場所が変更された項目」に移動されるかと思ったら全くそんなこと無いのか.

トラックバック


広告スペース
Google