[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not allow users to change passwd
> Hi oBSD'ers.
>
> I have a server (yes my old crappy one) where people can log
> in only if they've sent me their public ssh key.
>
> I want to disable their regular Unix password, and make sure
> they can't change it.
>
> What is the best way of doing this ?
You don't actually have to do anything smart :*) If you just vipw
and * out everyones password your job is done. Remember, passwd will
prompt the user for their old password !
> Thanks
>
> Tony Sarendal
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>