> ssh using key authentication and sudo configured to allow a certain
> user to run the needed commands and only the needed commands as root.
> rsh? Are you living in a cave? :)

Thanks for the replies.

The original script was written at the cave era, only I am trying to
improve it today.

Would that be better? Using key authentication so ssh needs no
password (and key access limit to limit the client connecting via ssh)
and limiting sudo to run only the mentionned script.

/usr/bin/ssh [EMAIL PROTECTED] /usr/local/bin/sudo /usr/local/sbin/remove_user 
foor_bar

TIA.

Olivier
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to