![]() |
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 |
| ksh and .profile | JamesByars | Shell Programming and Scripting | 9 | 02-24-2008 03:09 AM |
| Where can I read about the difference between "..profile" and ".profile" | zorrokan | UNIX for Dummies Questions & Answers | 2 | 09-05-2007 01:35 AM |
| Difference between .profile and .~/.profile | maneesh mehta | SCO | 3 | 12-14-2005 04:35 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 11:21 AM |
| why i have local.profile, local.cshrc,local.login instead of .profile, .login ? | abidmalik | UNIX for Dummies Questions & Answers | 5 | 08-27-2002 01:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
There may be a way to set it up in the system configuration... (Thoguh I don't know, it depends on your system)...
However, the following added to your system login script would probably do it (at least for bash and ksh users).. <PRE> users=`who | grep $LOGNAME` trap "exit" 2 3 if [ "X$users" != "X" ] ; then echo "You cannot login more then once, press <RETURN>" read TMP exit fi trap 2 3 </PRE> Test it thoroughly because I have not... - dEvNuL |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|