Ubuntu Tips: Difference between revisions

From JoeHacker
(Created page with '== Admin Commands == allow a user to sudo sudo adduser <username> sudo adduser <username> admin == Apache == remake ssl snakeoil cert sudo make-ssl-cert generate-default-sn…')
 
No edit summary
Line 1: Line 1:
== General Changes ==
dash is the default shell linked to /bin/sh. This can cause a number of problems with some scripts. To change /bin/sh back to bash use the following command.
dpkg-reconfigure dash
== Admin Commands ==
== Admin Commands ==
allow a user to sudo
allow a user to sudo

Revision as of 08:16, 13 August 2009

General Changes

dash is the default shell linked to /bin/sh. This can cause a number of problems with some scripts. To change /bin/sh back to bash use the following command.

dpkg-reconfigure dash

Admin Commands

allow a user to sudo

sudo adduser <username> 
sudo adduser <username> admin


Apache

remake ssl snakeoil cert

sudo make-ssl-cert generate-default-snakeoil --force-overwrite

Disable default site

a2dissite default

Enable ldap

a2enmod authnz_ldap