Last change
on this file since 2942 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 |
---|
2 | echo "# If they're not root, but their user exists (success)," |
---|
3 | echo 'auth [success=ignore ignore=ignore default=1 module_unknown=die] pam_succeed_if.so uid > 0' |
---|
4 | echo "# print the \"You don\'t have tickets\" error:" |
---|
5 | echo 'auth [success=die ignore=reset default=die module_unknown=die] pam_echo.so file=/etc/issue.net.no_tkt' |
---|
6 | echo "# If !(they are root)," |
---|
7 | echo 'auth [success=1 ignore=ignore default=ignore module_unknown=die] pam_succeed_if.so uid eq 0' |
---|
8 | echo "# print the \"your account doesn't exist\" error:" |
---|
9 | echo 'auth [success=die ignore=reset default=die module_unknown=die] pam_echo.so file=/etc/issue.net.no_user' |
---|
10 | echo |
---|
11 | exec cat |
---|
Note: See
TracBrowser
for help on using the repository browser.