Versions Compared

    Key

    • This line was added.
    • This line was removed.
    • Formatting was changed.
    Comment: Published by Scroll Versions from this space and version 6.6-3

    ...

    Then grant the 'admin' privilege to 'jburk', but only in the "showA" group, that user's privileges remain unchanged outside of that group.

    No Format
    jburk-15-mbPro:python jburk$ qbusers --group showa --add --admin jburk
     
    jburk-15-mbPro:~ root# qbusers --list 
    total 8
    ---l jc- krmpbuicseyqg-vftn [default]
    asil jcg krmpbuicseyqgpvftn administrator
    ---- --- ------------------ bar
    ---l jc- krmpbuicseyqg-vftn foo [default] 
    ---l jc- krmpbuicseyqg-vftn jburk [default] 
    asil jcg krmpbuicseyqgpvftn qube
    asil jcg krmpbuicseyqgpvftn qubesupe
    asil jcg krmpbuicseyqgpvftn root
    asil jcg krmpbuicseyqgpvftn system
    
    jburk-15-mbPro:~ root# qbusers --member     
    group total 8
    [default]
    -- ------------------   default
    
    foo
    -- ------------------   showa
    
    jburk
    a- ------------------   showa
    
    jburk-15-mbPro:~ root# qbusers --group showA --drop foo
    modified group permissions
    
    jburk-15-mbPro:~ root# qbusers --list 
    total 7
    ---l jc- krmpbuicseyqg-vftn [default]
    asil jcg krmpbuicseyqgpvftn administrator
    ---- --- ------------------ bar
    ---l jc- krmpbuicseyqg-vftn jburk [default] 
    asil jcg krmpbuicseyqgpvftn qube
    asil jcg krmpbuicseyqgpvftn qubesupe
    asil jcg krmpbuicseyqgpvftn root
    asil jcg krmpbuicseyqgpvftn system

    ...