mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 17:53:40 +08:00
eca9894caa
Purpose of commit: bugfix Commit summary: --------------- 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_limits/pam_limits.c (process_limit): Check upper and lower limit of nice value, fix off-by-one in conversation to rlim_t. * xtests/Makefile.am: Add new pam_limits test case. * xtests/limits.conf: New, config file for test case. * xtests/pam_limits1.c: New, test case for RLIMIT_NICE. * xtests/pam_limits1.sh: Likewise. * xtests/pam_limits1.pamd: Likewise.
8 lines
134 B
Bash
Executable File
8 lines
134 B
Bash
Executable File
#!/bin/bash
|
|
|
|
/usr/sbin/useradd -p '!!' tstpamlimits
|
|
./tst-pam_limits1
|
|
RET=$?
|
|
/usr/sbin/userdel -r tstpamlimits 2> /dev/null
|
|
exit $RET
|