Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 823  / 2 Years ago, mon, april 4, 2022, 6:18:30

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 this:



Nautilus login: temp
Password:
Last login: Sat Oct 22 01:33:33 IST 2011 on pts/1
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic i686)

* Documentation: https://help.ubuntu.com/

0 packages can be updated.
0 updates are security updates.

Test


I want to remove the Notice that appears.


More From » login

 Answers
0

You can easily disable the printing of the motd with:



touch ~/.hushlogin


as documented in login.1.


[#42702] Wednesday, April 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
epypian

Total Points: 130
Total Questions: 111
Total Answers: 113

Location: Romania
Member since Mon, Jun 6, 2022
2 Years ago
;