Fulltext results:
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- e Corporation All rights reserved. </code> ===== Usage: ===== VBoxManage [<general option>] <comma... s|hdds|dvds|floppies| usbhost|usbfilters|systemproperties|extpacks| groups showvminfo ... ysize in MB>] [--pagefusion on|off] [--vram <v
- MySQL: Create User @info:mysql:user
- ====== MySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''
- Compare a Key with its Certificate @info:cryptography:openssl
- ''server.crt'', they need to have the same "modulus" and "exponent". openssl x509 -noout -text -in... always 65537. So we only need to compare the modulus. openssl x509 -noout -modulus -in server.crt openssl rsa -noout -modulus -in server.key Example: <file> $ openssl x509 -noout -
- MySQL: Change Password @info:mysql:user
- * Replace ''{passwd}'' with the password of the user. * Replace ''{user}'' with the name of the user. <code sql> GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY '{passwd}'; FLUSH PRIVILEGES; </code>
- localeadm @info:solaris
- e and get a matching DVD or ISO image. If you're using an ISO image, you have to mount it (insert you... -F hsfs ${LOFIDEV} /mnt </code> Note: If you're using the bourne shell (instead of bash or ksh), then use backticks in the second line: ''LOFIDEV=`lofiadm -a ${ISOIMG}`'' Now you can use localeadm. ===== Examples ===== ==== List Inst
- Generate a Test Key @info:cryptography:openssl
- tkey.key -out testkey.crt Informations about the used arguments from the OpenSSL man page: * ''[[h... stead of a certificate request. This is typically used to generate a test certificate or a self signed... ified in the configuration file. Unless specified using the set_serial option 0 will be used for the serial number. * ''[[http://www.openssl.org/docs/ap
- Debug Server Certificate from Client @info:cryptography:openssl
- nnect www.andunix.net:443 Informations about the used arguments from the OpenSSL man page: * ''[[h... ZXQwggEiMA0G CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDtJusPIYfOy5Y9W/izrGQn3N2hq2NV UBSbLfoz779vWYIg7eBaEC7Y... xU2HZ3ITi7dxO6PDGekkhGakPTWH0VBrzHcbOBEEy3Z louCqoUs8ji6HX3O9QV56xZwLKnL0CEDZ7vZp8joMP1d5Qza5XMD2koDAg... CA Limited/CN=PositiveSSL CA 2 i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust
- MySQL: Remove User @info:mysql:user
- ====== MySQL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql>
- Oracle: List Accounts with Objects @info:oracle
- counts with Objects ====== To list all accounts (users) the objects (like tables), you can query them... unts, you can query them with: <code sql> SELECT USERNAME FROM ALL_USERS ORDER BY USERNAME; </code> Or, if you only want the DBAs: <code sql> SELECT USERNAME FROM DBA_US
- jps - Java Virtual Machine Process Status Tool @info:java
- ====== jps - Java Virtual Machine Process Status Tool ====== The Java Virtual Machine has a ''jps'' to... ommand. ''jps'' lists all ''java'' Processes of a user. You can find the man page at [[http://java.sun... om/j2se/1.5.0/docs/tooldocs/share/jps.html]]. I'm using it with the parameters ''-l'' (long listing) and ''-m'' (arguments) most of the time: /usr/java/bin/jps -lm Here are some more examples:
- Cleanup Packages @info:linux:debian
- ove: <code bash> deborphan --help </code> <code> Usage: deborphan [OPTIONS] [PACKAGE]... The followi... ble: --help, -h This help. --status-file, -f FILE Use FILE as statusfile. --version, -v Version information. --show-deps, -d Sho
- Virtual Network Visualization @info:solaris
- tion ====== OpenSolaris supports virtual networks using virtual interfaces connected with virtual swit... generates a dot-File, which then can be rendered using [[http://www.graphviz.org/|Graphviz]]. **Upda... sted in the [[http://blogs.sun.com/observatory/en_US/entry/crossbow_virtual_wire_demo_tool|Crossbow Vi... Tool]]. ===== dladm2dot.pl ===== <code perl> #! /usr/bin/perl $STYLE{'etherstub'} = "shape=box"; $ST
- Firefox Extensions @info:prog:firefox
- ttps://addons.mozilla.org/firefox/addon/adblock-plus/|Adblock Plus]] |A must-have. Blocks all these blinking ads which are so anoying. | |[[https://addons.mozilla.org/firefox/addon/greasemonkey/|Greasemonkey]] |Customize webpages using JavaScript. | |[[https://ad
- MySQL: Backup @info:mysql:database
- ==== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Datab... ==== <code bash> # set or replace the variables $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') fo
- root login with bash @info:script
- is set to be a role, so you can't login as root, just ''su'' to ''root'' from an user which has the ''root'' role. Also, the ''root'' user has the bourne shell (''/bin/sh''), but working with ''/bin/bash'' is much easier. Using this command, you can directly log in as ''roo