Skip to content

Sudo to the user not to root for readhome#526

Open
Kunzol wants to merge 4 commits into
openpubkey:mainfrom
Kunzol:user-sudo
Open

Sudo to the user not to root for readhome#526
Kunzol wants to merge 4 commits into
openpubkey:mainfrom
Kunzol:user-sudo

Conversation

@Kunzol

@Kunzol Kunzol commented Jun 12, 2026

Copy link
Copy Markdown

In scenarios with user home directories in NFS and root_squash active, in this case
root accesses the user home directory as user "nobody" and can not read the
~/.opk/auth_id file. As the username is known, the sudo is using this username
to read the file as the user instead of root.

Kunzol and others added 4 commits June 12, 2026 07:37
In scenarios with user home directories in NFS and root_squash active, in this case
root accesses the user home directory as user "nobody" and can not read the
`~/.opk/auth_id` file. As the username is known, the sudo is using this username
to read the file as the user instead of root.
In scenarios with user home directories in NFS and root_squash active, in this case
root accesses the user home directory as user "nobody" and can not read the
`~/.opk/auth_id` file. As the username is known, the sudo is using this username
to read the file as the user instead of root.

Signed-off-by: Marco Schmidt <marco.schmidt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant