mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
acct-user/root: set ACCT_USER_NO_MODIFY
Closes: https://bugs.gentoo.org/827813 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -12,6 +12,10 @@ ACCT_USER_HOME="/root"
|
||||
ACCT_USER_HOME_PERMS=0700
|
||||
ACCT_USER_GROUPS=( root )
|
||||
|
||||
# Avoid reverting changes by the sysadmin.
|
||||
# https://bugs.gentoo.org/827813
|
||||
ACCT_USER_NO_MODIFY=1
|
||||
|
||||
acct-user_add_deps
|
||||
|
||||
pkg_prerm() {
|
||||
|
||||
Reference in New Issue
Block a user