pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
runas: Wrapper around su for running a single command as another user
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Thu Jan 28 11:56:01 2021 -0600
Changeset: c79371b80a51fc66db42064e6ed8cf0f99990638
Modified Files:
Makefile
Added Files:
runas/DESCR
runas/Makefile
runas/PLIST
runas/distinfo
Log Message:
runas: Wrapper around su for running a single command as another user
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c79371b80a51fc66db42064e6ed8cf0f99990638
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
runas/DESCR | 5 +++++
runas/Makefile | 14 ++++++++++++++
runas/PLIST | 2 ++
runas/distinfo | 6 ++++++
5 files changed, 28 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9f1697f7e9..d03873f50b 100644
--- a/Makefile
+++ b/Makefile
@@ -4916,6 +4916,7 @@ SUBDIR+= ruby-vegas
SUBDIR+= ruby-versionomy
SUBDIR+= ruby-xmpp4r
SUBDIR+= ruby-yaml_waml
+SUBDIR+= runas
SUBDIR+= runit
SUBDIR+= rust
SUBDIR+= rust-bindgen
diff --git a/runas/DESCR b/runas/DESCR
new file mode 100644
index 0000000000..c28ea01146
--- /dev/null
+++ b/runas/DESCR
@@ -0,0 +1,5 @@
+The su command is cumbersome to use for running a single command as another
+user. The runas command is a simple wrapper around su to make its use more
+appealing. It differs from sudo in that it requires the password of the
+target user rather than the calling user, and it requires no suid or
+configuration.
diff --git a/runas/Makefile b/runas/Makefile
new file mode 100644
index 0000000000..f1bd167c11
--- /dev/null
+++ b/runas/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME= runas-0.1.0.3
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=outpaddling/}
+GITHUB_PROJECT= runas
+GITHUB_TAG= c696290e11a1e0e60939b6353905eb8e9b9e77fb
+
+MAINTAINER= bacon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/outpaddling/runas
+COMMENT= Wrapper around su for running a command as another user
+LICENSE= 2-clause-bsd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/runas/PLIST b/runas/PLIST
new file mode 100644
index 0000000000..f9d4111196
--- /dev/null
+++ b/runas/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/runas
diff --git a/runas/distinfo b/runas/distinfo
new file mode 100644
index 0000000000..e1ead3eaea
--- /dev/null
+++ b/runas/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (runas-0.1.0.3-c696290e11a1e0e60939b6353905eb8e9b9e77fb.tar.gz) = 70f2d79e2a4f156253aa17a9013756b7c2454efa
+RMD160 (runas-0.1.0.3-c696290e11a1e0e60939b6353905eb8e9b9e77fb.tar.gz) = 46e59de842adcd119c849c83f548896f3a439752
+SHA512 (runas-0.1.0.3-c696290e11a1e0e60939b6353905eb8e9b9e77fb.tar.gz) = 2a65693be92f8cfb11152af6556c77d24d366c678d5e1a23eda346a254e78d787268ceb9428ec451c145d4042d14099309bd8403ccce997915adf2e106237208
+Size (runas-0.1.0.3-c696290e11a1e0e60939b6353905eb8e9b9e77fb.tar.gz) = 3116 bytes
Home |
Main Index |
Thread Index |
Old Index