FreeBSD Bugzilla – Attachment 201326 Details for
Bug 235122
rc.subr limits call breaks non-root usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow non-root bypass of call to limits
rc.subr.patch (text/plain), 567 bytes, created by
Markus Wild
on 2019-01-22 09:59:18 UTC
(
hide
)
Description:
patch to allow non-root bypass of call to limits
Filename:
MIME Type:
Creator:
Markus Wild
Created:
2019-01-22 09:59:18 UTC
Size:
567 bytes
patch
obsolete
>--- rc.subr.orig 2019-01-22 10:40:13.973245000 +0100 >+++ rc.subr 2019-01-22 10:45:44.565899000 +0100 >@@ -1073,7 +1073,9 @@ > fi > > # Prepend default limits >- _doit="$_cd limits -C $_login_class $_doit" >+ if [ `/usr/bin/id -u` -eq 0 ]; then >+ _doit="$_cd limits -C $_login_class $_doit" >+ fi > > # run the full command > # >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235122
: 201326