Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

omi and omiusers group setup #1558

Merged
merged 5 commits into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions installer/datafiles/linux.data
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ if [ $? -ne 0 ]; then
fi

# Ensure omsagent is in the omiusers group, but leave omsagent as a group
/usr/sbin/usermod -g omiusers omsagent 1> /dev/null 2> /dev/null
# Ensure omsagent is in the omi group as well
/usr/sbin/usermod -g omi omsagent 1> /dev/null 2> /dev/null
/usr/sbin/usermod -g omiusers -a -G omi omsagent 1> /dev/null 2> /dev/null

# Add the 'nxautomation' group if it does not already exist
# (Can't use useradd with -U since that doesn't exist on older systems)
Expand Down
Loading