Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 301907 Details for
Bug 441511
su - does not work for non-privileged users on initial login
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch /etc/rc.d/init.d/firstboot
firstboot.patch (text/plain), 1.68 KB, created by
archimerged Ark submedes
on 2008-04-09 23:25:03 UTC
(
hide
)
Description:
Patch /etc/rc.d/init.d/firstboot
Filename:
MIME Type:
Creator:
archimerged Ark submedes
Created:
2008-04-09 23:25:03 UTC
Size:
1.68 KB
patch
obsolete
>--- /home/delta/firstboot/etc/rc.d/init.d/firstboot 2008-04-09 19:06:09.000000000 -0400 >+++ /etc/rc.d/init.d/firstboot 2008-04-09 19:12:04.000000000 -0400 >@@ -9,8 +9,9 @@ > # Description: Firstboot runs the first time a machine is booted after > # installation. It checks for the existance of an > # /etc/sysconfig/firstboot file. If it doesn't exist, then >-# the firstboot program needs to run. If it finds the file, >-# firstboot will not run. If /etc/reconfigSys exists or if >+# the firstboot program needs to run. If the file exists >+# and contains the string 'RUN_FIRSTBOOT=NO', firstboot >+# will not run. If /etc/reconfigSys exists or if > # "reconfig" is provided in the kernel boot arguments, > # firstboot will run in reconfiguration mode. > ## END INIT INFO >@@ -24,7 +25,8 @@ > # time a machine is booted after install. It checks for \ > # the existence of an /etc/sysconfig/firstboot file. If \ > # it doesn't exist, then the firstboot program needs to \ >-# run. If it finds the file, firstboot will not run. \ >+# run. If the file exists and contains the string \ >+# 'RUN_FIRSTBOOT=NO', firstboot will not run. \ > # If /etc/reconfigSys exists or if "reconfig" is provided \ > # in the kernel boot arguments, firstboot will run in \ > # reconfiguration mode. >@@ -41,7 +43,7 @@ > start) > args="" > >- if [ ! -f $FILENAME || -z "$(grep 'RUN_FIRSTBOOT=NO' $FILENAME)" ]; then >+ if grep -qs 'RUN_FIRSTBOOT=NO' "$FILENAME"; then > exit 0 > fi >
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 441511
:
301829
|
301893
|
301901
| 301907