Does anyone know how a bash script can detect what username you originally logged in with after you have become root? That is, if I ssh into a machine, and sudo su -, I want a script to be able to find out who I was before I became root. ///Peter