I only have root access to my server, so the sudo command does not work. I try to run a command that tries to use the sudo command, and since I already have root access, it fails.
command not found: sudo chmod + x / usr / local / bin / wkhtmltopdf
Is there a way I can run this command? Can I somehow get away from the root or force root to use the sudo command temporarily?
Just tried it and it worked for me(on Mandriva Linux, other distributions should not be different).
sudo?.
sudo
sudo, root. sudo.
sudo - root .
root, sudo?
chmod +x /usr/local/bin/wkhtmltopdf
, sudo, root. - - , , root, root-, sudo. , sudo whereis sudo root. sudo :
whereis sudo
/usr/bin/sudo
, script: /usr/bin/sudo shutdown -h now
"Can I somehow get away from the root?"
You can create another user account and log in to it.
It looks like you did not install sudo:
Just install it! sudo should be configured by default to allow calling its root without even asking for a password ...
Source: https://habr.com/ru/post/1758709/More articles:What's new at Umbraco, where do I start? - c #Scroll Position Flex 4 Spark List - listfunction call in asp.net repeater - asp.netПолучение идентификатора сохраняемого дочернего объекта в отношениях "один ко многим" - java.NET XML uselessly resolves objects in Save - xmlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1758710/using-aspnet-credentials-to-log-in-from-a-winforms-application&usg=ALkJrhhlp9Lg0P9cQ6B3ZtFn7Ovs5-hXUgFlex 4 fileReference selected reduced image file sizes (width and height) - flexEraser in OpenGL ES iphone - iphonejQuery: fading in a web page only once - jqueryHow to enable MMU ARM1136JFS (ARM v6) for mapping between physical and virtual address space? - cAll Articles