summaryrefslogtreecommitdiffstats
path: root/pym/portage_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage_data.py')
-rw-r--r--pym/portage_data.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/pym/portage_data.py b/pym/portage_data.py
index 649b54dd8..0f846a8e2 100644
--- a/pym/portage_data.py
+++ b/pym/portage_data.py
@@ -48,10 +48,17 @@ os.environ["USERLAND"]=userland
def portage_group_warning():
warn_prefix = bad("*** WARNING *** ")
- writemsg(warn_prefix + "For security reasons, only system administrators should be\n")
- writemsg(warn_prefix + "allowed in the portage group. Untrusted users or processes\n")
- writemsg(warn_prefix + "can potentially exploit the portage group for attacks such as\n")
- writemsg(warn_prefix + "local privilege escalation.\n\n")
+ mylines = [
+ "For security reasons, only system administrators should be",
+ "allowed in the portage group. Untrusted users or processes",
+ "can potentially exploit the portage group for attacks such as",
+ "local privilege escalation."
+ ]
+ for x in mylines:
+ writemsg(warn_prefix, noiselevel=-1)
+ writemsg(x, noiselevel=-1)
+ writemsg("\n", noiselevel=-1)
+ writemsg("\n", noiselevel=-1)
# Portage has 3 security levels that depend on the uid and gid of the main
# process and are assigned according to the following table: