Bug 216330

Summary: Complete the su-without-root article
Product: Tools Reporter: Andrew G. Morgan (morgan)
Component: libcapAssignee: Andrew G. Morgan (morgan)
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: n/a Subsystem:
Regression: No Bisected commit-id:

Description Andrew G. Morgan 2022-08-05 15:16:47 UTC
Finish

   https://sites.google.com/site/fullycapable/su-without-root

Things still needed:

 - fix su[cap] to not generate bash errors (see   https://bugzilla.kernel.org/show_bug.cgi?id=215926 for a related issue)
 - write something about minimal capabilities for the su binary.
Comment 1 Andrew G. Morgan 2022-08-06 03:57:48 UTC
contrib/sucap/su fixes:

https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=fc437fd8308b4ee4d8e3053d51471883946f9b04

I'll keep this bug open until I update the article.
Comment 2 Andrew G. Morgan 2022-08-06 16:03:16 UTC
Documented article updated. Now that the article refers to the git clone at HEAD I didn't bother waiting for a release to complete it.