Table of Contents

Unix

General nix notes

Sudo without password for only some commands:

# User privilege specification
root    ALL=(ALL) ALL
%admin  ALL=(ALL) ALL
ben     ALL=(ALL) NOPASSWD: /opt/local/sbin/blah, /sbin/blah

     Oddball notes on the use of gdb

     Bash Tips

     Tunnel Remote Desktop through SSH, scripted This one is like old and stuff.

OS X

Linux

     knud

Cygwin

bnh1@larsTest /
$ net use g: \\\\c-usr\\users\\b\\ben password /user:alpha\\username
The command completed successfully.

Note: it's necessary to escape all characters including punctuation in passwords.

 
unix/unix.txt · Last modified: 2010/03/06 01:39 by ben
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki