• Elvith Ma'for@feddit.org
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    8 hours ago

    Another thing Claude tried to do on my coworker’s machine yesterday was basically:

    ✨ Yes, that is easy, let me just generate a systems unit file for you…

    [Generates file]

    Should I install that unit now for you?

    Yes

    Alright, let me do that for you

    [Saves file]

    [Tries to run systemctl daemon reload]

    [Tries to activate the unit]

    It looks like I have insufficient rights to proceed, let me try another way…

    docker -rm -v /etc/systemd/system:/mount:Z -v ./unitfile.service:unit file.service:Z alpine /bin/sh cp ./unitfile.service /mount/

    Here, I installed the unit for you!