mirror of
https://github.com/LionSec/katoolin.git
synced 2026-04-25 08:55:59 +03:00
[PR #163] [MERGED] checks if user is running as root, or else aborts #338
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/katoolin-LionSec#338
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LionSec/katoolin/pull/163
Author: @CCLDArjun
Created: 11/16/2018
Status: ✅ Merged
Merged: 4/26/2019
Merged by: @LionSec
Base:
master← Head:master📝 Commits (1)
bf10511checks if user is running as root, or else aborts📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
katoolin.py(+4 -0)📄 Description
I think that this would be very helpful because bassically anything that you need to do in this tool requires sudo privledges, rejecting them at the start would be a better error message than
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.