diff --git a/sysutils/Makefile b/sysutils/Makefile index 58aac2410160..a9da345f2add 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1299,6 +1299,7 @@ SUBDIR += rubygem-winrm-elevated SUBDIR += rubygem-winrm-fs SUBDIR += rubygem-yell + SUBDIR += runas SUBDIR += rundeck3 SUBDIR += runiq SUBDIR += runit diff --git a/sysutils/runas/Makefile b/sysutils/runas/Makefile new file mode 100644 index 000000000000..8e6958686251 --- /dev/null +++ b/sysutils/runas/Makefile @@ -0,0 +1,17 @@ +PORTNAME= runas +DISTVERSION= 0.1.1 +CATEGORIES= sysutils + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Wrapper around su for running a command as another user +WWW= https://github.com/outpaddling/runas + +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes + +GH_ACCOUNT= outpaddling + +PLIST_FILES= bin/runas man/man1/runas.1.gz + +.include diff --git a/sysutils/runas/distinfo b/sysutils/runas/distinfo new file mode 100644 index 000000000000..a2232daf7d53 --- /dev/null +++ b/sysutils/runas/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1694440086 +SHA256 (outpaddling-runas-0.1.1_GH0.tar.gz) = d30c99b9f0935df3fe9a91ba3683d667acb1458751836b1145cac7b781a5753c +SIZE (outpaddling-runas-0.1.1_GH0.tar.gz) = 4084 diff --git a/sysutils/runas/pkg-descr b/sysutils/runas/pkg-descr new file mode 100644 index 000000000000..37651a697d4d --- /dev/null +++ b/sysutils/runas/pkg-descr @@ -0,0 +1,8 @@ +Runas is a tool for running commands as another user. It is an +alternative to "sudo", which has a history of serious security issues, +and "su", which is inconvenient for anything but running a shell. + +The runas command is a simple wrapper around "su" to streamline its +use. It differs from "sudo" in that it requires the password of the +target user rather than the calling user, and it requires no SUID +permissions or configuration.