RootPasswordChange SOP

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(redirect page to new infra-docs)
 
Line 1: Line 1:
 
{{header|infra}}
 
{{header|infra}}
 
{{shortcut|ISOP:RootPasswordChange}}
 
{{shortcut|ISOP:RootPasswordChange}}
 +
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/rootpasswordchange.txt
  
== Changing root passwords globally and with haste ==
+
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.
  
* Create a file in /root on puppet1 named thatfile
 
* contents should be:
 
  
<pre>
 
root:SHA-encrypted-form-of-new-password
 
</pre>
 
 
NB: don't name the file newpassword or things go weird on puppet1 :)
 
 
<pre>
 
func-sendfile /root/thatfile /root/newpassword
 
</pre>
 
 
NB: func-sendfile should be in /usr/local/bin - shortly - it sadly outputs very poorly as to what it is doing - something that skvidal is working on.
 
<pre>
 
func-command 'cat /root/newpassword | /usr/sbin/chpasswd -e'
 
</pre>
 
 
<pre>
 
func-command 'rm -f /root/newpassword'
 
</pre>
 
 
[[Category:Infrastructure SOPs]]
 
[[Category:Infrastructure SOPs]]

Latest revision as of 18:51, 19 December 2011

Infrastructure InfrastructureTeamN1.png
Shortcut:
ISOP:RootPasswordChange

This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/rootpasswordchange.txt

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.