Project

General

Profile

« Previous | Next » 

Revision d8d2d3e4

Added by Jim Pingle almost 15 years ago

Add check for user-ssh-tunnel to give users access to the ssh tunnel shell

View differences:

etc/inc/auth.inc
288 288
	/* configure shell type */
289 289
	if (userHasPrivilege($user, "user-shell-access") || userHasPrivilege($user, "page-all")) {
290 290
		$user_shell = "/bin/tcsh";
291
	} elseif (userHasPrivilege($user, "user-ssh-tunnel")) {
292
		$user_shell = "/usr/local/sbin/ssh_tunnel_shell";
291 293
	} elseif (userHasPrivilege($user, "user-copy-files")) {
292 294
		$user_shell = "/usr/local/bin/scponly";
293 295
	} else {

Also available in: Unified diff