Change username in Ubuntu

To manage every aspect of the user database, you use the usermod tool. To change username (it is probably best to do this without being logged in): usermod -l newUsername oldUsername This however, doesn’t rename the home folder. To change home-folder, use usermod -d /home/newHomeDir -m newUsername after you changed the username.

Radius login with Ubuntu

sudo apt-get install libpam-radius-auth edit $ sudo vim /etc/pam_radius_auth.conf find other-server    other-secret       3 change to 192.168.x.x secretkey 3 Edit your /etc/pam.d/sshd file and add the line: auth       sufficient  pam_radius_auth.so Just above: # Standard Un*x authentication. @include common-auth had to update firewall config and configure radius to accept auths from this IP using this to upload […]