title: Linux commands from Java
body: <p>Is it possbile to execute linux commands with java? I am trying to create a web servlet to allow ftp users to change their passwords without ssh login access. I would like to execute the next commands:  </p>
  
  <pre><code># adduser -s /sbin/nologin clientA -d /home/mainclient/clientA
  # passwd clientA
  # cd /home/mainclient; chgrp -R mainclient clientA
  # cd /home/mainclient/clientA; chmod 770 .
  </code></pre>