gentoo-tools

Some Gentoo helper tools
git clone git://r-36.net/gentoo-tools
Log | Files | Refs | LICENSE

commit c4f2237b5d1b0146f5a5c5488c32d2a7ff3423cf
parent e4a5f9c53e49a50b53b7d3ad5e4f3abdaadb9b91
Author: Spenser Truex <web@spensertruex.com>
Date:   Sun,  5 Apr 2020 12:30:13 -0700

Remove sudo calls from scripts in gentoo-tools

Scripts shouldn't call sudo. If a user wants to use another means of managing
users (eg. doas) then they should be able to do that.

I use doas with an alias "d", so it only costs me two extra characters to
escalate a script.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
bin/elog | 2+-
bin/esynclog | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/elog b/bin/elog @@ -1,4 +1,4 @@ #!/bin/sh -sudo tail -f /var/log/emerge.log +tail -f /var/log/emerge.log diff --git a/bin/esynclog b/bin/esynclog @@ -1,4 +1,4 @@ #!/bin/sh -sudo tail -f /var/log/emerge-sync.log +tail -f /var/log/emerge-sync.log