Date: Thu, 1 Apr 1999 15:01:40 -0600 (EST) From: Tom Kyle <tk@umsl.edu> To: Mike Tancsa <mike@sentex.net> Cc: questions@FreeBSD.ORG Subject: Re: making /usr/bin/passwd the 'shell' Message-ID: <Pine.LNX.4.04.9904011458250.11077-100000@foundation.umsl.edu> In-Reply-To: <3.0.5.32.19990401130517.00cc6410@staff.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike, one way to do it would be to make accounts as usual, but make their 'login' directory a symbolic link to a default directory with a .login script that only lets them change their password. That way, in case you need to convert the account, all you have to do is remove the link and create the login directory, which is nice in case you have to convert a lot of accounts over NIS... A sample .login: #!/bin/csh onintr end /usr/bin/passwd end: logout Tom Kyle Jr Unix Admin University of Missouri-St. Louis tom@foundation.umsl.edu On Thu, 1 Apr 1999, Mike Tancsa wrote: > > Hi, > I dont want to give some of my users shell access, but I want them to be > able to change their password. What would be the implications of setting > their shell to /usr/bin/passwd ? Are there any more prefered/safer ways of > doing this ? > > ---Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9904011458250.11077-100000>