From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325906481.tru64-unix-managers.marc@archive.invalid> From: ptaylor () ups ! edu (Pat Taylor) Date: Tue, 05 Dec 1995 00:35:22 +0000 To: tru64-unix-managers Subject: SUMMARY of interactive vs non-interactive. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325906481 Thanks to those who responded, the answer of course was a simple one. There was two methods offered, both would work in my particular case. Create a simple C program that prints a message about the account but also allows password changing, or set the users login shell to a nonexistant one, so I opted for the short and sweet one since I use pwserve to change passwords. As stated by Carl Privitt at Texas A&M: > A simple method is to set their shell to something other than a shell, > e.g. /bin/false. This does allow them to go through the login procedure, > but the only thing they get is immediately logged out. If you want to > be a little more informative, you can setup a message file. We use a file, > /bin/noshell, that is several echo statements telling the user that the > account is non-interactive. After it executes, the script exits which > logs them out. Thanks to the following people for responding so quickly: Carl Privitt Phil Farrell Andrew C. Saylor Patrick D. Taylor Data Network Manager Office of Infomation Systems University of Puget Sound Tacoma, WA. 98416 (206)756-1475 "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." Albert Einstein