0
votes
1answer
128 views

MOTD displaying content of /etc/motd generated at boot / previous login

I have an Ubuntu server running at sandbox.plushu.org - if you add your key at http://enter.sandbox.plushu.org, you can connect to the server as root@sandbox.plushu.org. You can reset the server by ...
3
votes
1answer
60 views

How to properly invoke motd for SSH connections with PAM disabled

I have configured a nice motd message that shows me lots of relevant infos when I login to my VPS via SSH. As password authentication is disabled in sshd_config I would also prefer to disable PAM as ...
0
votes
1answer
536 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
322 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 ...
3
votes
2answers
402 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 ...