Re: ssh passwd -f in a restricted shell
From: Neil W Rickert (rickert+nn@cs.niu.edu)Date: 02/26/02
- Previous message: Igor B: "Re: takes forever to ssh from one host to another, sometimes"
- In reply to: Jason Price: "ssh passwd -f in a restricted shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Neil W Rickert <rickert+nn@cs.niu.edu> Date: 26 Feb 2002 22:10:49 GMT
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.
- Previous message: Igor B: "Re: takes forever to ssh from one host to another, sometimes"
- In reply to: Jason Price: "ssh passwd -f in a restricted shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|