[ubuntu] sudo don't need input password Posted by Computer Newbie on 上午8:41 in Ubuntu / No comments [ubuntu] sudo don't need input passwordsudo vim /etc/sudoers (no need to restart)UserName ALL=(ALL) NOPASSWD: ALL Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook Related Posts:[SSH] How to ssh without password Generate a rsa keypair: # ssh-keygen (Local machine create rsa keypair) Generate two key (private and public key) Your identification has been save… Read More[Patch] How to use Patch command to patch code Create 1.txt 3 4 5 Create 2.txt 12 3 4 Create a patch file diff -u 1.txt 2.txt > 1.patch Use patch file to patch 2.txt patch 2.txt -i ./1.patc… Read More[USB][Ubuntu 10.04] How to install Ubuntu 10.04 into USB device[USB][Ubuntu 10.04] How to install Ubuntu 10.04 into USB device 1. Burn Ubuntu 10.04 iso into CD. 2. Using CD to start the computer 3. When every t… Read More[tcpdump] How to use tcpdump to capture packet 1. Install tcpdump sudo apt-get install tcpdump 2. Using the command to catch the packet. & put the command into the background -s capture s… Read More[Sync time] How to sync date with remote machine date --set="$(ssh user@remote_server date)" Reference: How to synchronize date and time over SSH (when NTP is not available) … Read More
0 意見:
張貼留言