* [Summary] Correct way to have a no shell account
@ 1997-05-13 18:41 Brian H. Mayo
0 siblings, 0 replies; only message in thread
From: Brian H. Mayo @ 1997-05-13 18:41 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to all who sent me answers to this.
It appears the solution is as follows:
In the password file, change the user's shell to /bin/true. The
/bin/true command returns a 0 (zero) exit value. The effect is that the
user authenticates and then is exited from the system if they try to log in.
In order to allow this user to use ftp on the system, you will need to
enter /bin/true as a valid shell in the /etc/shells file.
thanks again.
****************************************************
| Brian H. Mayo | UNIX Systems Administrator |
| Computing Services | BRYN MAWR COLLEGE |
|++++++++++++++++++++++++++++++++++++++++++++++++++|
| brian.mayo@brynmawr.edu |
| Guild Hall | t:(610) 526-7443 | f:(610) 526-7432 |
| 101 North Merion Road | Bryn Mawr, Pa 19010 |
****************************************************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-13 18:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-13 18:41 [Summary] Correct way to have a no shell account Brian H. Mayo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox