[scponly] Fwd: setup_chroot.sh script useradd or pw error

wbr oblyr joe at sublimation.org
Fri Sep 23 18:10:00 EDT 2011


If useradd is not in your $PATH, the script may not be able to find
it.  You could modify the script to refer to useradd by its full
pathname or you could expand your PATH to include the directory
containing useradd.

Hope this helps,
joe

On Fri, Sep 23, 2011 at 2:01 PM, Keven Jones <rclchamp at gmail.com> wrote:
> Just upgraded my RHEL 4 server to scpony-4.8.  I have configured with
> --enable-chrooted-binary
> Performed my make
> make install
> edited /etc/shells and added the scponlyc shell
> created my user using my useradd command
>
> But...
>
> When i attempt to execute make jail or ./setup_chroot.sh I get this error:
> this script requires the program useradd or pw to add your chrooted scponly user
>
> I have been searching and can't find an answer on how to correct this. My
> system does have the useradd command.
>
> Anyone know how to correct this.
>
> Thanks a bunch.
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
>



More information about the scponly mailing list