When I want to login as root, I usually have to type: su -l and than an interactive query starts in order to receive the password.
Is it possible to login as root without this interactive query ?
I tried the following one liners, which did not work:
- echo "password" | su -l
- echo "password" | xargs su -l