can the user override this by re aliasing passwd to point to
/usr/bin/passwd in the .bashrc or .cshrc etc. ?
-kg

On Mon, 10 Mar 2003, Siva Subramanian wrote:

>
> Hi,
>
> this should work.
>
> edit /etc/profile and add these lines.
>
> passwd()
> {
>     if["$USER"="u2"]; then
>         echo "Access Denied"
>     else
>         /usr/bin/passwd
>     fi
> }
>
> Regards,
> Siva.
>
> PS : I had posted this earlier, but then I guess this
> did not hit the list. if it did, pls do ignore it.
> --- Dhruv <[EMAIL PROTECTED]> wrote:
> > > That's also seems to be a viable option for me at
> > this
> > > moment. Let's see what dr. Laha has to say.
> > >
> >
> > i concour with the approach to set user password day
> > change min , max
> > method, by far the easiest,
> >
> > That being said -- we can always have a perl script
> > that sits as passwd and
> > it does a check to see if $ENV{USER} is u2 or not :)
> > As earlier passwd is
> > moved to another location which is another exercise
> > in security because of
> > obscurity and something im never proud of doing.
> >
> > TIMTOWTDI
> >
> > Dhruv
> >
> >
> > --
> > To unsubscribe, send mail to [EMAIL PROTECTED]
> > with the body
> > "unsubscribe ilug-cal" and an empty subject line.
> > FAQ: http://www.ilug-cal.org/node.php?id=3
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
>
>
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
>


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to