hilbix / suid

run programs and scripts suid
Other
0 stars 0 forks source link

Configuration is not DRY enough #27

Open hilbix opened 6 months ago

hilbix commented 6 months ago

In #26 following setting was used:

tino::tino:tino:-:/home/tino:/bin/bash:-lc:debian_chroot='suid' LOGNAME=tino USER=tino HOME=/home/tino "$@" ${*-/bin/bash -l}:-bash

This is far too redundant, just look at the many tinos showing up there.

It should be possible to re-use the first tino somehow generically, such that copying this line and renaming it to the new user then automatically adapts the rest.