Label » Sudo

Sudo: Great Power, Great Responsibility

This post should really be called How to modify the /etc/hosts file on a Mac but how do you resist an opportunity to hail Sudo? 140 kata lagi

Install Mongo and NodeJs to linux server

sudo yum install mongodb-server

sudo yum install mongodb

sudo service mongod start / enable 

sudo chkconfig mongod on 

sudo service mongod stop 

sudo service mongod restart… 25 kata lagi


List sudo for another user

If you want to get permissions for another user as root.

Run the below command

sudo -U  USERHERE -l

# If sudo is installed, this script will run itself using sudo.
cd “$(dirname $0)”
cd “$wd”

[ ! -x “$(which sudo)” ] && [ !

26 kata lagi

True SUDO...

Στο internet, πολλοί ψάχνουν πώς να κάνουν sudoer έναν user χωρίς να απαιτείται η εισαγωγή του passwd, κάθε πενταλεπτο.

Η μόνη σωστή λύση, διότι κυκλοφορούν πάμπολλες χωρίς αποτέλεσμα είναι η εξης: 26 kata lagi


Witty Pun Goes Here

The components of said pun should be “archives/archivists” and “root.” Left to the reader as an exercise.

My contention is simple: information professionals should have, and know how to use, administrative privileges on their machines. 598 kata lagi


2. Install Docker

Docker Installation reference

Update apt sources

To set APT to use packages from the new repository:

  1. Open a terminal window.
  2. Update package information, ensure that APT works with the…
  3. 480 kata lagi