Re: one time passwords
From: Michael Vilain
Date: 08/05/03
- Next message: johny: "Can Solaris 2.5.1 support 120G HDD?"
- Previous message: abdoell: "Re: metastat result - need maintenance"
- In reply to: Lon Stowell: "Re: one time passwords"
- Next in thread: Wayne: "Re: one time passwords"
- Reply:(deleted message) Wayne: "Re: one time passwords"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Aug 2003 22:28:06 -0700
In article <daFXa.47188$Vt6.17825@rwcrnsc52.ops.asp.att.net>,
Lon Stowell <lon.stowell@comcast.net> wrote:
> "Michael Vilain " wrote:
>
> > In article <dfd17ef4.0308041801.1aebce28@posting.google.com>,
> > s99999999s2003@yahoo.com (mike) wrote:
> >
> >> how do i set up one time passwords for logins in solaris 8?
> >
> > I don't think you can. Closest I imaging is setting the account to
> > expire within a certain time period. They can login as many times as
> > they want until it expires. Don't know if they can still get in via ftp
> > if the account is expired as I never tried it.
> >
>
> It might help to know why the OP had some desire to do this for
> a normal user.
>
> With local files, could probably add a script, invoked by
> default login or such that grabs the line out of the
> shadow file and stomps on the password with something
> like "BeenHereOnce".
>
That script would have to run as root. I can see this working for local
files (good idea, btw!) but would be much harder on NIS or NIS+.
What about putting an expect script that changes the password via passwd
in the .login or .profile, leaving a $HOME/.BeenHereOnce file or
something. You could run the expect script in such a way as to capture
or throw away it's output. It would change the password to something
random or unknown to the user, thereby locking them out.
-- DeeDee, don't press that button! DeeDee! NO! Dee...
- Next message: johny: "Can Solaris 2.5.1 support 120G HDD?"
- Previous message: abdoell: "Re: metastat result - need maintenance"
- In reply to: Lon Stowell: "Re: one time passwords"
- Next in thread: Wayne: "Re: one time passwords"
- Reply:(deleted message) Wayne: "Re: one time passwords"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|