![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get environment of a "fresh" login shell? | Miikka | Shell Programming and Scripting | 6 | 10-04-2008 08:10 PM |
| script that can give login password for "ssh" without involving STDIN | gydave | Shell Programming and Scripting | 2 | 08-03-2008 07:03 PM |
| ksh script as a login shell return "no controlling terminal" | lramirev | Shell Programming and Scripting | 8 | 07-16-2008 01:31 AM |
| No utpmx entry: you must exec "login" from lowest level "shell" | peterpan | UNIX for Dummies Questions & Answers | 0 | 01-18-2006 04:15 AM |
| do you believe X-application will "kill" the CDE and come back to login dialog | chenhao_no1 | High Level Programming | 3 | 07-19-2002 08:58 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I want to change login failure message, "login incorrect"
I want to change login failure message, "login incorrect"
deny user login for user id tom sudo passwd -l tom type username and type password on login prompt and then it will display login failure message "login incorrect" console ############ login: tom password: login incorrect login: ############ I want to replace 'login incorrect' to 'contact your system administrator' i'm sorry i am poor at english thanks in advance Last edited by lifegeek; 11-17-2008 at 06:04 AM.. |
|
||||
|
life saver~
thank you! i found another solution Code:
# echo "contact your local administrator" >> /sbin/nologin # usermod -s /sbin/nologin tom Code:
login: tom contact your local administrator login: Code:
# usermod -s /bin/bash tom Last edited by lifegeek; 11-18-2008 at 02:15 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|