Re: ssh passwd -f in a restricted shell
From: Jason Price (jason@jasonprice.net)Date: 02/28/02
- Previous message: Volker Wehrhahn: "memory leak in putty PSCP"
- In reply to: Neil W Rickert: "Re: ssh passwd -f in a restricted shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jason@jasonprice.net (Jason Price) Date: 28 Feb 2002 06:47:23 -0800
Neil W Rickert <rickert+nn@cs.niu.edu> wrote in message news:<a5h159$4c2$1@husk.cso.niu.edu>...
> jason@jasonprice.net (Jason Price) writes:
>
> >We are restricting users on a certain machine as to what they can run.
> > Currently, only ls,passwd,rm,scp, and ssh are allowed. The problem is
> >when passwords expire the users don't seem to have permission the
> >change their password. At first, I thought it was because sshd was
> >calling /bin/passwd, but I changed which passwd binary to use and it
> >still errors.
>
> >Any help ?
>
> >Below is after a passwd -f. This is on a Solaris 8 machine with SSH
> >Comm's version of ssh. SSH-2.0-3.0.1 SSH Secure Shell (non-commercial)
> >user@sys 502 ~ >ssh -l user system
> >user's password:
> >Authentication successful.
> >/usr/lib/rsh: /usr/local/rsh/passwd: restricted
> >Connection to system closed.
> >user@sys 502 ~ >
>
> The restricted shell does not permit a command path to be executed.
> The command must be in the default path and executed without
> specifying a command.
Much thanks !!! I compiled ssh to look for just "passwd" with no path
and everything is working now..
Jason
- Next message: Andrew Falanga: "compiling and installing OpenSSH 3.0.2"
- Previous message: Volker Wehrhahn: "memory leak in putty PSCP"
- In reply to: Neil W Rickert: "Re: ssh passwd -f in a restricted shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|