|
|
#46170 - 07/10/08 03:49 PM
Pre Login message?
|
UGN Member
Registered: 09/25/02
Posts: 390
Loc: 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
|
|
Top
|
|
|
|
Sponsored Links
Sponsor 
|
|
| Top |
|
|
|
#46191 - 07/11/08 01:07 PM
Re: Pre Login message?
[Re: Gizmo]
|
UGN Member
Registered: 09/25/02
Posts: 390
Loc: 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
|
|
Top
|
|
|
|
#46201 - 07/13/08 08:35 PM
Re: Pre Login message?
[Re: Gizmo]
|
UGN Member
Registered: 09/25/02
Posts: 390
Loc: 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
|
|
Top
|
|
|
|
#46202 - 07/13/08 08:36 PM
Re: Pre Login message?
[Re: Shinobi]
|
UGN Member
Registered: 09/25/02
Posts: 390
Loc: Asheville, NC
|
i only have 387 posts? wtf?
_________________________
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
Top
|
|
|
|
#46203 - 07/13/08 10:01 PM
Re: Pre Login message?
[Re: Shinobi]
|
UGN Elite Poster
Registered: 10/22/03
Posts: 1449
Loc: 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 .
|
|
Top
|
|
|
|
#46204 - 07/13/08 10:44 PM
Re: Pre Login message?
[Re: IceMyst]
|
UGN Member
Registered: 09/25/02
Posts: 390
Loc: Asheville, NC
|
yeah well.........
wow I joined in 02 that was before either of my kids were born....
Edited by Shinobi (07/13/08 10:45 PM)
_________________________
"The secret to creativity is knowing how to hide your sources." -Albert Einstein Tech Ninja Security
|
|
Top
|
|
|
|
|
6870 Members
44 Forums
10508 Topics
45258 Posts
Max Online: 677 @ 06/30/07 10:06 PM
|
|
|
1 Registered (Artic Warrior),
5
Guests and
10
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|