source: package_branches/invirt-console/hvirt/debian/transform_sshd.invirt @ 2989

Last change on this file since 2989 was 1813, checked in by broder, 16 years ago

Rename invirt-console-server source package to invirt-console

  • Property svn:executable set to *
File size: 668 bytes
Line 
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.