skarnet / s6

The s6 supervision suite.
https://skarnet.org/software/s6/
ISC License
777 stars 35 forks source link

s6-setuidgid not working with colon, s6-applyuidgid problem? #8

Closed space88man closed 5 years ago

space88man commented 5 years ago

Using binaries from v1.21.8.0/s6-overlay-amd64.tar.gz:

[root@localhost bin]# s6-setuidgid root uptime
 00:29:31 up  2:56,  2 users,  load average: 0.00, 0.01, 0.00
[root@localhost bin]# s6-setuidgid root:root uptime
s6-applyuidgid: usage: s6-applyuidgid [ -z ] [ -u uid ] [ -g gid ] [ -G gidlist ] [ -U ] prog...

Can't get s6-applyuidgid to run properly:

[root@localhost bin]# s6-applyuidgid -u root uptime
s6-applyuidgid: usage: s6-applyuidgid [ -z ] [ -u uid ] [ -g gid ] [ -G gidlist ] [ -U ] prog...
space88man commented 5 years ago

[UPDATE] My bad - should have been using UID/GID numbers not text.