文件操作 - password.glade
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/anaconda/ui/spokes/password.glade
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.1 --> <interface> <requires lib="gtk+" version="3.6"/> <requires lib="AnacondaWidgets" version="1.0"/> <object class="AnacondaSpokeWindow" id="passwordWindow"> <property name="can_focus">False</property> <property name="window_name" translatable="yes">ROOT PASSWORD</property> <signal name="button-clicked" handler="on_back_clicked" swapped="no"/> <child internal-child="main_box"> <object class="GtkBox" id="AnacondaSpokeWindow-main_box1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child internal-child="nav_box"> <object class="GtkEventBox" id="AnacondaSpokeWindow-nav_box1"> <property name="can_focus">False</property> <child internal-child="nav_area"> <object class="GtkGrid" id="AnacondaSpokeWindow-nav_area1"> <property name="can_focus">False</property> <property name="margin_left">6</property> <property name="margin_right">6</property> <property name="margin_top">6</property> </object> </child> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child internal-child="alignment"> <object class="GtkAlignment" id="AnacondaSpokeWindow-alignment1"> <property name="can_focus">False</property> <property name="yalign">0</property> <property name="xscale">0</property> <property name="yscale">0.5</property> <child internal-child="action_area"> <object class="GtkBox" id="AnacondaSpokeWindow-action_area1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkGrid" id="pwgrid"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> <object class="GtkLabel" id="pwlabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" context="GUI|Password">_Root Password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">pw</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> </packing> </child> <child> <object class="GtkLabel" id="confirmlabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" context="GUI|Password">_Confirm:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">confirmPW</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkEntry" id="pw"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> <property name="invisible_char">●</property> <signal name="changed" handler="on_password_changed" swapped="no"/> <child internal-child="accessible"> <object class="AtkObject" id="pw-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">Password</property> </object> </child> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">1</property> </packing> </child> <child> <object class="GtkEntry" id="confirmPW"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> <property name="invisible_char">●</property> <signal name="changed" handler="on_password_confirmation_changed" swapped="no"/> <property name="activates_default">True</property> <child internal-child="accessible"> <object class="AtkObject" id="confirmPW-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">Confirm Password</property> </object> </child> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkLabel" id="capslock"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="use_markup">True</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkLevelBar" id="password_bar"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> <property name="value">0</property> <property name="max_value">4</property> <property name="mode">discrete</property> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="password_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> <property name="xpad">6</property> <property name="label" translatable="yes">empty password</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">2</property> </packing> </child> <child> <object class="GtkLabel" id="details"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">The root account is used for administering the system. Enter a password for the root user.</property> <property name="wrap">True</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> <property name="width">2</property> </packing> </child> <child> <placeholder/> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> </object> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> <child internal-child="accessible"> <object class="AtkObject" id="passwordWindow-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">ROOT PASSWORD</property> </object> </child> </object> </interface>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件