Ubuntu for Windows 10

Ubuntu for Windows 10

I am new to using Ubuntu for Windows 10. I have been trying to be able to run cron on the unix but I am getting a

cron:can't open or create /var/run/crond.pid: Permission denied 

This is happening while I am running it as an admin on Windows 10. However, it still would not work. How do I convince it that I am the ADMIN and that I want it to happen. I am trying to do sudo but it is saying:

unable to resolve host LAPTOP-XXXX0000

1 Answer

Bash itself needs to be run as an administrator. You can do this by right clicking on the icon and selecting "Run as administrator", then accepting the prompt. This will allow Bash to run most commands, though it looks like there are still a lot of screwy networking features.

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.