#46170 - 07/10/08 07:49 PM
Pre Login message?
|
Joined: Sep 2002
Posts: 390
Shinobi
UGN Member
|
UGN Member

Joined: Sep 2002
Posts: 390
Asheville, NC
|
Ok here is a question that I have yet to find an answer to so hopefully you nerds can help me.
I'm planning on using my BSD box for free shell accounts and what I need is for when someone connects via SSH/telnet something along these lines pop up
Welcome to ninjaBSD. If you are a new user please login with new
login:
Only real thing I have found in regards to changing the message is editing the default: line in /etc/gettytab but that didn't seem to work, in ssh anyway, didn't try in telnet/local login situations.
So anyone who knows how this can be accomplished/if it can be please let me know
Oh its freebsd 7.0
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
|
#46191 - 07/11/08 05:07 PM
Re: Pre Login message?
[Re: Gremelin]
|
Joined: Sep 2002
Posts: 390
Shinobi
UGN Member
|
UGN Member

Joined: Sep 2002
Posts: 390
Asheville, NC
|
will this carry over to say telnet, or will I have to do the samething with telnet
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
|
#46201 - 07/14/08 12:35 AM
Re: Pre Login message?
[Re: Gremelin]
|
Joined: Sep 2002
Posts: 390
Shinobi
UGN Member
|
UGN Member

Joined: Sep 2002
Posts: 390
Asheville, NC
|
I got the banner using round about your method. However it only displays the message after the person tries to login IE: login: user Welcome to NinjaBSD! Login with new if new user password:
in the gettytab man pages it specifies something about using im and if however both are already specified and the if string is currently pointing to the banner. Here is a c&p of my current gettytab
default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: :if=/etc/issue:\
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
|
#46202 - 07/14/08 12:36 AM
Re: Pre Login message?
[Re: Shinobi]
|
Joined: Sep 2002
Posts: 390
Shinobi
UGN Member
|
UGN Member

Joined: Sep 2002
Posts: 390
Asheville, NC
|
i only have 387 posts? wtf?
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
|
#46203 - 07/14/08 02:01 AM
Re: Pre Login message?
[Re: Shinobi]
|
Joined: Oct 2003
Posts: 1,449
IceMyst
UGN Elite Poster
|
UGN Elite Poster

Joined: Oct 2003
Posts: 1,449
Where ever Gizmo is
|
that's what you get for disappearing shin :P
*Hell hath no fury like a womens anger and damn be the fool who gets in her way* Donate to the "Baby Trey's Digital Camera" fund here .
|
|
|
#46204 - 07/14/08 02:44 AM
Re: Pre Login message?
[Re: IceMyst]
|
Joined: Sep 2002
Posts: 390
Shinobi
UGN Member
|
UGN Member

Joined: Sep 2002
Posts: 390
Asheville, NC
|
yeah well.........
wow I joined in 02 that was before either of my kids were born....
Last edited by Shinobi; 07/14/08 02:45 AM.
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,173
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|