Re: [dev] Presenting some more software

2024-01-15 Thread Страхиња Радић
On 24/01/15 09:58AM, Hiltjo Posthuma wrote:
> I would recommend doas and for Linux the fork opendoas.

Of course; there are several disadvantages to note about sup:

- it doesn't check credentials; it is like
permit nopass cmd1
permit nopass cmd2
permit nopass cmd3
  in doas; but having those in doas.conf is similar to using sup anyway

- the switch -l gives the list of supported commands "on a platter"

Still, I think that with a couple of tweaks it might be a replacement for doas?


signature.asc
Description: PGP signature


Re: [dev] Presenting some more software

2024-01-15 Thread Hiltjo Posthuma
On Mon, Jan 15, 2024 at 06:22:21AM +0100, Страхиња Радић wrote:
> On 24/01/13 09:19PM, stefan1 wrote:
> > https://github.com/stefan1/su
> > https://github.com/stefan1/rootdo
> > https://github.com/stefan1/rdoedit
> 
> I find sup[1] (~120-ish LoC) very useful, and in line with suckless 
> philosophy.
> 
> [1]: https://oldgit.suckless.org/sup/


I would recommend doas and for Linux the fork opendoas.

-- 
Kind regards,
Hiltjo



Re: [dev] Presenting some more software

2024-01-14 Thread Страхиња Радић
On 24/01/13 09:19PM, stefan1 wrote:
> https://github.com/stefan1/su
> https://github.com/stefan1/rootdo
> https://github.com/stefan1/rdoedit

I find sup[1] (~120-ish LoC) very useful, and in line with suckless philosophy.

[1]: https://oldgit.suckless.org/sup/


signature.asc
Description: PGP signature


[dev] Presenting some more software

2024-01-13 Thread stefan11111
Since a few people found the software I listed in my last email useful, 
I'll do this again.


First off, my fork of kirc with extra features:
https://github.com/stefan1/kirc

It has some nice additions to https://github.com/mcpcpp/kirc,
like dcc support, both ipv4 and ipv6, timestamping, some wrappers and 
aliases, bug fixes, etc.
You can look through the commit history and issues if you want no see 
everything new.


The next programs are all made in the suckless style of header 
compile-time configs:


Minimal su without a dependency on pam:
https://github.com/stefan1/su

A project inspired by rootdo:
https://github.com/stefan1/rootdo

And minimal sudoedit, which can be integrated with my rootdo (with a 
config option):
I don't really use this program, as I simply run my text editor as root, 
but maybe someone finds it useful.

https://github.com/stefan1/rdoedit

--
Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz

COMMON_FLAGS="-O3 -pipe -march=native -ftree-vectorize -ffast-math 
-funswitch-loops -fuse-linker-plugin -flto -fdevirtualize-at-ltrans 
-fno-plt -fno-semantic-interposition -fno-common -falign-functions=32 
-fgraphite-identity -floop-nest-optimize"


USE="-* git verify-sig rsync-verify man alsa X grub ssl ipv6 lto 
libressl olde-gentoo asm native-symlinks threads jit jumbo-build minimal 
strip system-man"


INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd 
/usr/lib/modules-load.d /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus 
/lib/udev /usr/share/icons /usr/share/applications 
/usr/share/gtk-3.0/emoji"