Tags » Sudo

sudo asks for password even if NOPASSWD is set in /etc/sudoers

TL;DR when a script is not marked as executable and you try to run it with sudo, you don’t get the usual -bash: myScript.sh: Permission denied… 314 more words

Computers

Linux Tip - Ever forget to type SUDO?

Ever forget to use the SUDO command and end up with permission denied? Next time that happens simply type: SUDO !! (Yes put in the exclamation points) 32 more words

Tech

[Series Drabble] Nhà Trẻ

Author : Young

Character : SuDO / Kim JunMyeon x Do KyungSoo Rating : K , trẻ em 1 tuổi cũng có thể đọc được… 1,286 more words

D.O.

The neverending local administrative rights story

19 July 2014

Last week I discussed IT security related topics with the computational biology systems group. It’s hard to believe, but most of the scientist work with Linux, most of the time with a bare bash (Bourne-again shell). 355 more words

Survival Tips

sudoedit

When I need to edit files with superuser privileges, like those in etc directory, I used to do:

$ sudo vim /etc/hosts

This launches the editor with root privileges. 70 more words

Linux 101: How to Recovery Forgotten Root's Password

It is recommended to avoid using root account frequently and this does cause trouble when admins suddenly would like to connect to a box under root account. 130 more words

Linux

[howto] start/stop daemons via php

Executing shell commands from php requires root privileges in many cases. So it does for scripts in your /etc/init.d .

Linux