Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh

    $ sudo -l
    Matching Defaults entries for yrro on wintermute:
    env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin, use_pty, env_keep+=COLORFGBG, use_pty, !fqdn
    
    User yrro may run the following commands on wintermute:
        (ALL : ALL) NOPASSWD: /usr/bin/etckeeper unclean, /usr/bin/ss
        (ALL : ALL) !/usr/bin/sudo, !/usr/bin/su, !/bin/su

    $ sudo -a -F /etc/shadow
    Error: an inet prefix is expected rather than "root:$6$9mkIdP/HzXdF0bn6$.aUdPCsZFfm0NJ9Wse.8EowMDION0tvzApDy7X09HQwNIJX9ckvCxoDuYCxzY1uCEvUdODRCVCSoWNVMSgC9a.:16545:0:99999:7::
Darnit


Hello fellow Gibbson fan. My hostname is "wintermute" as well.


Double darnit. The command that let me read /etc/shadow was supposed to be:

     sudo ss -a -F /etc/shadow


  $ sudo -a -F /etc/shadow
  bash: sudo: command not found




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: