source: trunk/packages/invirt-console-server/debian/transform_sshd.invirt @ 1206

Last change on this file since 1206 was 1201, checked in by price, 16 years ago

rename invirt-console-server directory too

  • Property svn:executable set to *
File size: 668 bytes
RevLine 
[1062]1#!/bin/sh
2echo "# If they're not root, but their user exists (success),"
3echo 'auth    [success=ignore ignore=ignore default=1 module_unknown=die]   pam_succeed_if.so uid > 0'
4echo "# print the \"You don\'t have tickets\" error:"
5echo 'auth    [success=die ignore=reset default=die module_unknown=die]     pam_echo.so file=/etc/issue.net.no_tkt'
6echo "# If !(they are root),"
7echo 'auth    [success=1 ignore=ignore default=ignore module_unknown=die]   pam_succeed_if.so uid eq 0'
8echo "# print the \"your account doesn't exist\" error:"
9echo 'auth    [success=die ignore=reset default=die module_unknown=die]     pam_echo.so file=/etc/issue.net.no_user'
10echo
11exec cat
Note: See TracBrowser for help on using the repository browser.