Squirre17 / Autokd

automate kernel exploit environment deploy
1 stars 0 forks source link

add for sudo support #1

Closed Squirre17 closed 1 year ago

Squirre17 commented 1 year ago
mount: you must be root
mount: you must be root
mount: you must be root
mount: you must be root
can't open /dev/null: Permission denied
can't open /dev/null: Permission denied
can't open /dev/null: Permission denied
can't open /dev/null: Permission denied
hostname: sethostname: Operation not permitted
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: ip: RTNETLINK answers: Operation not permitted
ip: SIOCSIFFLAGS: Operation not permitted
sed: /proc/mounts: No such file or directory
Waiting for interface eth0 to appear...^Ax..qemu-system-x86_64: terminating on signal 2

modify pack and qemu-run part?

Squirre17 commented 1 year ago

run with sudo is unecessary, only modify the "initrd-is-root-used" can achieve