このページの翻訳:
ソースの表示
最近の変更サイトマップ

ConnectX software maybe overwrites FreeBSD system directories' owner.

Continuation from “system directories owner changes to unknown UID 6151” problem.

I listed system directories up which was owned by non-root user with a below command.

# find / -type d ! -uid 0 ! -path "*/home/*" ! -path "*/zdata/*" ! -path "*/zbackup/*" -print0 | xargs -0 stat -f "%u %g %N" | tee ~/non_root_owner_dirs.txt

And then, these directories' onwer UID got to '6151.'

6151 0 /etc
6151 0 /etc/mft
6151 0 /etc/mft/fwtrace_cfg
6151 0 /usr
6151 0 /usr/bin
6151 0 /usr/include
6151 0 /usr/lib
6151 0 /usr/lib/bash_libs
6151 0 /usr/lib/mft
6151 0 /usr/lib/mft/mtcr_plugins
6151 0 /usr/lib/mft/python_tools
6151 0 /usr/lib/mft/python_tools/mlxmcg
6151 0 /usr/lib/mft/python_tools/mst
6151 0 /usr/lib/mft/python_tools/mstdump
6151 0 /usr/lib/mft/tcl
6151 0 /usr/lib/mft/tcl/bin
6151 0 /usr/lib/mft/tcl/lib
6151 0 /usr/lib/mft/tcl/lib/tcl8.4
6151 0 /usr/share
6151 0 /usr/share/man
6151 0 /usr/share/man/man1
6151 0 /usr/share/mft
6151 0 /usr/share/mft/mlxconfig_dbs
6151 0 /usr/share/mft/mstdump_dbs

I checked some of them and found a few files' UIDs were also modified to 6151. Additionally most of their mdate were 2018/11/23.

I think Mellanox's ConnectX-3 utility software install might modify these files, I guessed from the files and mdate. Come on, Mellanox.

Fortunately, there are no storange files other than owner 6151, so I managed to change their owner to 'root' by below command though I'm not sure their original owener was root or not.

# find / -uid 6151 ! -path "*/home/*" ! -path "*/zdata/*" ! -path "*/zbackup/*" -print0 | xargs -0 chown root

Comments




en/blog/2019/2019-05-30.txt · 最終更新: 2019-08-19 16:28 by Decomo
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0