0
votes
1answer
492 views

Command not found when SSHing into Ubuntu 12.04

I have an issue when logging into my Ubuntu 12.04 machine via SSH. It lags for about 40 seconds after printing half of the MOTD. Then it says [...]: command not found and completes the login. My ...
3
votes
2answers
283 views

Environment variables in motd not working

I’m trying to send user login logs to my email with the users name and location. After making the script I found that environment variables can’t run in this script, I’m hoping that someone out there ...
2
votes
2answers
376 views

How to change the login notice on a custom shell?

I was trying to setup a custom shell for a temp user. sudo usermod --shell /home/nemo/a temp The contents of a: #!/bin/bash echo "Test" Unfortunately, on trying to login as user temp, I see ...