tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY of interactive vs non-interactive.
@ 1995-12-05  0:35 ptaylor
  0 siblings, 0 replies; only message in thread
From: ptaylor @ 1995-12-05  0:35 UTC (permalink / raw)
  To: tru64-unix-managers

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 <privitt@eagle.tamu.edu>
Phil Farrell <farrell@pangea.Stanford.EDU>
Andrew C. Saylor <asaylor@alpha.comsource.net>

Patrick D. Taylor <ptaylor@ups.edu>
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-12-05  0:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-05  0:35 SUMMARY of interactive vs non-interactive ptaylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox