Professional Web Applications Themes

failed login attempts... - Sun Solaris

I need to set the number "wrong password" entries to 3 and then echo back a messages to the user...something like "please contact the system administrator...blah, blah, blah...". Could someone please help me out in this endevour? TIA Ray Hall...

  1. #1

    Default failed login attempts...

    I need to set the number "wrong password" entries to 3 and then echo back a
    messages to the user...something like "please contact the system
    administrator...blah, blah, blah...". Could someone please help me out in
    this endevour?

    TIA

    Ray Hall


    Raymond Guest

  2. #2

    Default Re: failed login attempts...

    Raymond Hall wrote:
     

    You can set RETRIES=3 in /etc/default/login to set the number of failed
    login attempts before login exits.

    I don't know of direct solution to your issue. A workaround is needed, I
    think.

    You could write a own login program that handles the login of users.
    Which is the way users log in? telnet, ssh, remote X session?



    Ralf.

    Ralf Guest

  3. #3

    Default Re: failed login attempts...

    In article <bkfhsf$5ae$rz.RWTH-Aachen.DE>,
    Ralf Bensmann <de> wrote:
     
    >
    > You can set RETRIES=3 in /etc/default/login to set the number of failed
    > login attempts before login exits.
    >
    > I don't know of direct solution to your issue. A workaround is needed, I
    > think.
    >
    > You could write a own login program that handles the login of users.
    > Which is the way users log in? telnet, ssh, remote X session?[/ref]

    Not a trivial thing. Perhaps there's a PAM module out there to do this
    sort of thing, but, as Ralf says, it all depends on how you login.

    How's your coding skills?

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Michael Guest

  4. #4

    Default Re: failed login attempts...

    First off, thanks for the responses. I'll try the RETRIES=3 and see if
    that's satifactory. Not sure exactly what type of login they're looking at.
    And as for coding, my skills in that area leave something to be desired :(

    Ray

    <Michael Vilain <net>> wrote in message
    news:tdl.com... [/ref][/ref]
    back a [/ref][/ref]
    out in 
    > >
    > > You can set RETRIES=3 in /etc/default/login to set the number of failed
    > > login attempts before login exits.
    > >
    > > I don't know of direct solution to your issue. A workaround is needed, I
    > > think.
    > >
    > > You could write a own login program that handles the login of users.
    > > Which is the way users log in? telnet, ssh, remote X session?[/ref]
    >
    > Not a trivial thing. Perhaps there's a PAM module out there to do this
    > sort of thing, but, as Ralf says, it all depends on how you login.
    >
    > How's your coding skills?
    >
    > --
    > DeeDee, don't press that button! DeeDee! NO! Dee...
    >
    >
    >[/ref]


    Raymond Guest

  5. Moderated Post

    Default Re: failed login attempts...

    Removed by Administrator
    Ralf Guest
    Moderated Post

  6. #6

    Default Re: failed login attempts...


    "Raymond Hall" <com> wrote in message
    news:supernews.com... 


    The best way I can help you is to say "Don't do it!"

    This is a bad idea. What if some enterprising soul decides
    to lock out root? Plus, imagine the fun you'll have when
    you get about 27 users per day going "Waah! I've been locked out!!"
     

    --
    Noel R. Nihill
    UNIX® platform development
    Motorola NSS
    I *could* be arguing in my spare time.


    Noel Guest

  7. #7

    Default Re: failed login attempts...

    In article <bkuv6q$o6l$corp.mot.com>,
    "Noel R. Nihill" <BLAH.com> wrote:
     
    > a 
    >
    > The best way I can help you is to say "Don't do it!"
    >
    > This is a bad idea. What if some enterprising soul decides
    > to lock out root? Plus, imagine the fun you'll have when
    > you get about 27 users per day going "Waah! I've been locked out!!"[/ref]

    Did the OP want to lock out accounts that failed login after 3 times? I
    don't recall that part of the post. All I thought he wanted to do was
    print out some sort of additional message like "Contact your system
    administrator" after the 3rd attempt. Right now, after 3 retries,
    Solaris reprompts for the username.

    The closest I can think of this behavior (at a telnet session or any
    other type of session that displays /etc/motd and/or /etc/issues) is to
    put this message in those files. That way they're displayed first off
    and again after 3 failed login attempts.

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Michael Guest

Similar Threads

  1. Detect Login Attempts
    By stallionmvp in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: April 13th, 11:08 AM
  2. How to disable login after too many attempts
    By Carol in forum Linux / Unix Administration
    Replies: 10
    Last Post: December 6th, 09:31 PM
  3. how to track where user attempts login
    By David H in forum Windows Server
    Replies: 10
    Last Post: July 1st, 02:11 AM
  4. fail login attempts
    By Jander in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: July 4th, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139