<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://old.andunix.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://old.andunix.net/feed.php">
        <title>andunix.net</title>
        <description></description>
        <link>https://old.andunix.net/</link>
        <image rdf:resource="https://old.andunix.net/_media/favicon.ico" />
       <dc:date>2026-06-03T19:33:18+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/generate_key"/>
                <rdf:li rdf:resource="https://old.andunix.net/wiki/syntax"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/print_certificate"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/print_key"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/virtual_network_visualization"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/travian_map_download_script"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/localeadm"/>
                <rdf:li rdf:resource="https://old.andunix.net/p/andunix-tool/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/dladm2dot"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/virtualbox/cli"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/iconv"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/print_all_certificates_in_a_file"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/download_server_certificate"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/zfs_playground"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-repo-get-value"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-ssh-login"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-ssh-umount"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-exec-user"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/android/backup"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-exec-superuser"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/list_open_ports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/fstyp"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-ssh-mount"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://old.andunix.net/_media/favicon.ico">
        <title>andunix.net</title>
        <link>https://old.andunix.net/</link>
        <url>https://old.andunix.net/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/generate_key">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-20T08:13:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generate a Test Key</title>
        <link>https://old.andunix.net/info/cryptography/openssl/generate_key</link>
        <description>Generate a Test Key
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout testkey.key -out testkey.crt
Informations about the used arguments from the OpenSSL man page:

	*  req: PKCS#10 certificate request and certificate generating utility.
	*  -x509: this option outputs a self signed certificate instead of a certificate request. This is typically used to generate a test certificate or a self signed root CA. The extensions added to the certificate (if any) are specified in the configurati…</description>
    </item>
    <item rdf:about="https://old.andunix.net/wiki/syntax">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-15T19:10:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Formatting Syntax</title>
        <link>https://old.andunix.net/wiki/syntax</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/print_certificate">
        <dc:format>text/html</dc:format>
        <dc:date>2015-12-09T07:36:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Print Information about a Certificate</title>
        <link>https://old.andunix.net/info/cryptography/openssl/print_certificate</link>
        <description>Print Information about a Certificate
openssl x509 -in testkey.crt -noout -text
Informations about the used arguments from the OpenSSL man page:

	*  x509: Certificate display and signing utility.
	*  -in testkey.crt: This specifies the input filename to read a certificate from or standard input if this option is not specified.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/print_key">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-29T09:15:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Print Information about a Key</title>
        <link>https://old.andunix.net/info/cryptography/openssl/print_key</link>
        <description>Print Information about a Key
openssl x509 -inform DER -in testkey.cer -noout -text
Informations about the used arguments from the OpenSSL man page:

	*  x509: Certificate display and signing utility.
	*  -inform DER: This specifies the input format normally the command will expect an X509 certificate but this can change if other options such as -req are present. The DER format is the DER encoding of the certificate and PEM is the base64 encoding of the DER encoding with header and footer lines …</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/virtual_network_visualization">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-21T17:52:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Network Visualization</title>
        <link>https://old.andunix.net/blog/2009/virtual_network_visualization</link>
        <description>Virtual Network Visualization

OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches.
This feature was introduced with Project Crossbow in OpenSolaris 2009.06.
To visualize the internal network(s), I created a perl script which takes the output of dladm show-link and generates a dot-File, which then can be rendered using</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/travian/travian_map_download_script">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:18:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Map Download Script</title>
        <link>https://old.andunix.net/z/travian/travian_map_download_script</link>
        <description>Travian Map Download Script

This is my script(s) which I use to downoad the map.sql from Travian and import it to the database.

config.inc


#
# database
DB_USER=&quot;travian&quot; # set this to your database user
DB_PASS=&quot;travian&quot; # set this to your database password
DB_INST=&quot;travian&quot; # set this to your database instance
#
# directories
MAP_DIR=${HOME}/opt/travian
DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql
#
# executables
MYSQL=&quot;/srv/mysql/bin/mysql --default-character-set=utf8 -u${DB_USER} -…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/localeadm">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:58:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>localeadm</title>
        <link>https://old.andunix.net/info/solaris/localeadm</link>
        <description>localeadm

The localeadm utility queries and configures Solaris locales through a command line interface.

	*  man page: localeadm(1M)

Preparation

Check your Solaris Release with cat /etc/release and get a matching DVD or ISO image.

If you're using an ISO image, you have to mount it (insert your path in the first line.</description>
    </item>
    <item rdf:about="https://old.andunix.net/p/andunix-tool/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T11:12:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>andunix-tool</title>
        <link>https://old.andunix.net/p/andunix-tool/index</link>
        <description>andunix-tool

Usage:
java -jar andunix-tool.jar &lt;Global Options&gt; &lt;Command&gt; &lt;Command Options&gt;
Tip: I suggest to create a shell-script to ease the java starting:


#! /bin/sh

# Change this to the directory in which you put ''andunix-tool.jar''
# and the corresponding ''lib'' directory
ANDUNIX_TOOL_DIR=${HOME}/opt/andunix-tool

# Use this to define the path to your Java-Intallation
JAVA_HOME=/opt/jdk

exec ${JAVA_HOME}/bin/java -jar ${ANDUNIX_TOOL_DIR}/andunix-tool.jar $*</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/dladm2dot">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Network Visualization</title>
        <link>https://old.andunix.net/info/solaris/dladm2dot</link>
        <description>Virtual Network Visualization

OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches.
This feature was introduced with Project Crossbow in OpenSolaris 2009.06.
To visualize the internal network(s), I created a perl script which takes the output of</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/virtualbox/cli">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-22T13:16:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VBoxManage (The VirtualBox CLI)</title>
        <link>https://old.andunix.net/info/virtualbox/cli</link>
        <description>VBoxManage (The VirtualBox CLI)

This is a online reference of the output of VBoxManage without options.


Oracle VM VirtualBox Command Line Management Interface Version 4.2.16
(C) 2005-2013 Oracle Corporation
All rights reserved.


Usage:
VBoxManage [&lt;general option&gt;] &lt;command&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/iconv">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Change Encoding with iconv</title>
        <link>https://old.andunix.net/info/script/iconv</link>
        <description>Change Encoding with iconv

Convert Single File
iconv -f iso-8859-1 -t utf-8 -o OUTPUT.txt INPUT.txt
Converts INPUT.txt from iso-8859-1 to utf-8 and writes it to OUTPUT.txt.

Convert All Files in a Directory


for f in $(find . -type f)
do
  iconv -f iso-8859-1 -t utf-8 -o ${f}_$$_TEMP ${f} \
  &amp;&amp; mv ${f}_$$_TEMP ${f}
done</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/print_all_certificates_in_a_file">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-18T14:27:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Print all certificates in a file</title>
        <link>https://old.andunix.net/info/cryptography/openssl/print_all_certificates_in_a_file</link>
        <description>Print all certificates in a file

This command is especially helpful if you want to use Tomcat-/Java-Keystore-Certificates with the Apache webserver.
Use the -print_certs to print all the certificates and then cut the file and store each certificate in a single file.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/download_server_certificate">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-11T14:42:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Download a Server Certificate</title>
        <link>https://old.andunix.net/info/cryptography/openssl/download_server_certificate</link>
        <description>Download a Server Certificate

First, load the certificate chain from the server:


openssl s_client -showcerts -connect www.example.org:443 &lt;/dev/null


This will output the whole server certificate chain.
Every chertificate ist wrapped between -----</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-21T08:17:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Memory Usage of a Solaris Container (Zone)</title>
        <link>https://old.andunix.net/blog/2010/memory_usage_solaris_container_zone</link>
        <description>Memory Usage of a Solaris Container (Zone)

Last week one of my servers ran out of RAM and Swap. Shame on me for not monitoring that, but it's now.

As the server is running several zones, my first question was: Which zone is eating up my RAM? So, here are the commands I used.</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/zfs_playground">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-11T15:06:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ZFS Playground</title>
        <link>https://old.andunix.net/blog/2009/zfs_playground</link>
        <description>ZFS Playground

This small demo shows the basic ZFS operations.
You will need a Solaris 10 or OpenSolaris host and 1,2GB of disk space.

Preparation

First, go to a directory where you have enought space.
We will need 1,2GB for 6 files of 200MB.
The files are named like disks, but they are only files for this demo.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-repo-get-value">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-repo-get-value</title>
        <link>https://old.andunix.net/z/relax/api/base/base-repo-get-value</link>
        <description>base-repo-get-value

Loads a service configuration from the repository and outputs a single value (for the given key) to STDOUT.

Usage
base-repo-get-value SERVICE KEY
	*  SERVICE: A key of a service definition in the repository.
	*  KEY: The key for the value in the service definition to output.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-ssh-login">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-ssh-login</title>
        <link>https://old.andunix.net/z/relax/api/base/base-ssh-login</link>
        <description>base-ssh-login

Logs into a remote host using ssh.
This can be used to open a remote sesssion, but ususally it's used by other methods (especially base-exec-user) to remotely execute a command.

Usage
base-ssh-login SERVICE [ COMMAND ]
	*  SERVICE: a key of an user or host definition in the repository. From this, the following properties are used:</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-ssh-umount">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-ssh-umount</title>
        <link>https://old.andunix.net/z/relax/api/base/base-ssh-umount</link>
        <description>base-ssh-umount

Unmounts a remote share which had been mounted using sshfs/fuse (sftp).

Usage
base-ssh-mount SERVICE
	*  SERVICE: A key of a service definition in the repository.

Returns

No output.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-exec-user">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-exec-user</title>
        <link>https://old.andunix.net/z/relax/api/base/base-exec-user</link>
        <description>base-exec-user

Executes a command as a given user.
Command is executed using ssh if the user is not on localhost.

Usage
base-exec-user USER COMMAND
	*  USER: A key of an user definition in the repository. From this, the following properties are used:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/android/backup">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-24T12:11:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Android Backup</title>
        <link>https://old.andunix.net/info/android/backup</link>
        <description>Android Backup

To backup your device, use this command. It will automatically insert the current date in the filename:


adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db


If you are havong problems with the connection (“adb: unable to connect for backup</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-exec-superuser">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-exec-superuser</title>
        <link>https://old.andunix.net/z/relax/api/base/base-exec-superuser</link>
        <description>base-exec-superuser

Executes a command as a given user.
Command is executed using ssh if the user is not on localhost.
Before executing the command, the privileges will be elevated.
This privilege elevation method is defined by $RIGHT_ELEVATION in the
service configuration and can be either</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/list_open_ports">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-13T20:11:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List Open Ports</title>
        <link>https://old.andunix.net/info/sysadmin/list_open_ports</link>
        <description>List Open Ports

To list the open ports together with the listening processes:


netstat -tulpn


Here is an example output:


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      695/sshd        
tcp6       0      0 :::22                   :::*                    LISTEN      695/sshd        
udp        0      0 0.0.0.0:55872      …</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/fstyp">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fstyp</title>
        <link>https://old.andunix.net/info/solaris/fstyp</link>
        <description>fstyp

fstyp reports the type of file system.
With the -v (verbose) option reports even more informations.

	*  man page: fstyp(1M)

Example

UFS: ''fstyp''
fstyp /dev/rdsk/c1t0d0s0

ufs


UFS: ''fstyp -v''
fstyp -v /dev/rdsk/c1t0d0s0

ufs
magic   11954   format  dynamic time    Wed Dec 23 17:26:29 2009
sblkno  16      cblkno  24      iblkno  32      dblkno  760
sbsize  2048    cgsize  8192    cgoffset 64     cgmask  0xffffffc0
ncg     427     size    20972160        blocks  20654449
bsize   819…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T08:07:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Debug Server Certificate from Client</title>
        <link>https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client</link>
        <description>Debug Server Certificate from Client

Credit for this example goes to “ Checking A Remote Certificate Chain With OpenSSL” from langui.sh.
openssl s_client -showcerts -connect www.andunix.net:443
Informations about the used arguments from the OpenSSL man page:

	*  s_client: SSL/TLS client program
	*  -showcerts: display the whole server certificate chain: normally only the server certificate itself is displayed.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-ssh-mount">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-ssh-mount</title>
        <link>https://old.andunix.net/z/relax/api/base/base-ssh-mount</link>
        <description>base-ssh-mount

Mounts a remote share using sshfs/fuse (sftp).

Usage
base-ssh-mount SERVICE
	*  SERVICE: A key of a service definition in the repository.

Returns

No output.</description>
    </item>
</rdf:RDF>
