Tag » Sudo

Rsync dengan Opsi sudo dan Perubahan Kepemilikan

Dulu pernah nulis manual rsync, tapi rasanya ada beberapa opsi yg belum saya tulis. Kali ini, saya butuh untuk menyalin folder dari lokal ke peladen di awan namun lokasi tujuan membutuhkan penggunaan sudo. 70 kata lagi

Rsync

Customize Root-Level Access Using "sudo" for a Linux User

Problem: How to add/delete user, then assign, and customize root’s privileges under sudo command for a Linux user?

  • Add a user in Linux
$ sudo adduser newuser
… 281 kata lagi
Add User

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

Hadoop

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

Commands

List sudo for another user

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

Run the below command

sudo -U  USERHERE -l
Linux

#!/bin/sh
# Provided that sudo is installed and you are not already root, this script
# will run itself using sudo

wd=$(pwd)
dirname=$(dirname “$0”)
[ !

50 kata lagi
Bash

True SUDO...

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

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

Linux