|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Thank you for the pointer, jggimi. Much appreciated! I'll look into it and see if I can figure sth. out. Although, I may have to get back to the topic with more questions.
Will report back either way. |
|
||||
Sometimes the solution is easier than it seems.
Instead of trying to write a classification script to be used with login.conf where I'm not exactly sure I would've really known what I'm doing, I stumbled across a much easier solution by modifying two lines in /etc/ssh/sshd_config: Code:
(...) PrintMotd no Banner /etc/ssh.motd Now the same user sees /etc/motd when logging in on the console and /etc/ssh.motd when logging in through ssh. Problem solved. Last edited by fvgit; 16th July 2018 at 12:59 AM. Reason: typo |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
can't login on virtual console | spermwhale_warrior | OpenBSD General | 3 | 19th July 2014 05:05 PM |
console configuration | hanzer | OpenBSD General | 14 | 15th December 2013 12:21 AM |
Console problem | sniper007 | FreeBSD General | 3 | 20th February 2010 03:44 PM |
log in to console and startx in os x | questionguy | Other BSD and UNIX/UNIX-like | 11 | 25th August 2009 05:27 AM |
Console Fonts | JMJ_coder | General software and network | 6 | 10th September 2008 09:57 PM |