File: 4.html

package info (click to toggle)
lg-issue50 2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,880 kB
  • ctags: 157
  • sloc: sh: 47; makefile: 34; perl: 23
file content (271 lines) | stat: -rw-r--r-- 10,450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.3B.f">
<TITLE>The Answer Guy 50: Lost Password</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
	LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<center>
<H1><A NAME="answer">
	<img src="../../gx/dennis/qbubble.gif" alt="(?)" 
		border="0" align="middle">
	<font color="#B03060">The Answer Guy</font>
	<img src="../../gx/dennis/bbubble.gif" alt="(!)" 
		border="0" align="middle">
</A></H1> 
<BR>
<H4>By James T. Dennis,
	<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a><BR>
	LinuxCare,
	<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A> 
</H4>
</center>

<p><hr><p>
<!--  endcut ======================================================= -->
<!-- begin 4 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Lost Password</H3>


<p><strong>From Joy Higgins  on Tue, 18 Jan 2000  
</strong></p>
<!-- ::
Lost Password
~~~~~~~~~~~~~
:: -->
<P><STRONG>
My boyfriend put Linux <A HREF="http://www.caldera.com/">Caldera</A> on the home computer which means
the only one left is my work one...  I know practically nothing
about computers to begin with so be patient okay??
</STRONG></P>
<P><STRONG>
He was making a third user name and for some reason he not only
couldn't get into that users desktop (wording?  I'm sorry!) and
then he found he couldn't log into root either.  He tried getting
the password but it didn't work...
</STRONG></P>
<P><STRONG>
He called a computer guy that told him it sounds like the computer
is now worth the metal it took to make it because of Linux being
on it but not accessible and we could purchase a couple thousand
dollars of a "password cracker" if we wish...  we do not.  Is
there any way to get roots password because we think it was
changed instead of having the third users password entered in (I
hope that makes sense to you).  Can you help us please?  I just
want my computer back.
</STRONG></P>
<P><STRONG>
Joy
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Wow!  The &quot;computer guy&quot; your boyfriend called is
either a scam artist or an IDIOT.
</BLOCKQUOTE>
<BLOCKQUOTE>
For the record you can buy 
<a href="http://www.amazon.com/exec/obidos/ASIN/1562059343/linuxsystemadmin/104-3347499-9099625">my book</a> for less than
thirty dollars (U.S.) and the first thing I cover
in the "Emergencies" appendix is how to recover from
a lost root password.  This is also one of the
most common FAQs on the 
	<a href="news:comp.unix.admin">comp.unix.admin</a> newsgroup.
</BLOCKQUOTE>
<BLOCKQUOTE>
For Linux all you have to do is:
</BLOCKQUOTE>
<BLOCKQUOTE><dl>
<dt>1. Reboot 
	<dd>(try [<tt>Ctrl</tt>]+[<tt>Alt</tt>]+[<tt>Delete</tt>])
<dt>2. During the LILO prompt type:
<dd><tt>(kernel/image name) init=/bin/sh rw</tt>
<br>
... note that's usually going to be just:
<br><tt>linux init=/bin/sh rw</tt>
<dt>3. This should start the Linux kernel, 
<dd>with the
root filesystem mounted in read/write mode.
The cool thing is that none of your normal
init processes (like the <tt>getty</tt>s that
ask for your name and call the login program)
will be started.
<dt>4. (Maybe) mount your <TT>/usr</TT> filesystem with a
command like:
<dd><tt>mount /usr</TT>
<dt>5. Change your root password with a command like:
<dd><tt>passwd</tt>
<dt>6. Flush the cache buffers:
<dd><tt>sync; sync; sync</tt>
<dt>7. (Maybe) unmount <TT>/usr</TT>:
<dd><tt>umount /usr</TT>
<dt>8. Remount the root fs in readonly mode:
<dd><tt>mount -o remount,ro /</tt>
<dt>9. Let <tt>init</tt> clean up and reboot the system:
<dd><tt>exec /sbin/init 6</tt>
<br>... there is a "6" (six) at the end of that
command.
</dl></BLOCKQUOTE>
<BLOCKQUOTE>
That's it.  Don't worry about the couple of lines
where I said '(Maybe)' --- you can follow those steps
too, if you don't understand.  The errors from unnecessarily
executing those steps are harmless.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can follow a similar procedure using a "rescue"
diskette.  However, I'll let you buy my book (or
visit <A HREF="http://www.toms.net/rb"
	>http://www.toms.net/rb</A>) for the details on that
approach.  That book is "Linux System Administration"
by M Carling, Stephen Degler, and me (New Riders
Publishing).
</BLOCKQUOTE>

<em><p>[ You can read a bit more about the book at the website
	that's been setup for it:
<br><tt><a href="http://www.linuxsa.com/">http://www.linuxsa.com/</a></tt>
</p>

	<p>It's a bit plain as yet, but don't worry, it will get
	nicer as time goes on.  -- Heather ]</p></em>

<BLOCKQUOTE>
Hope that helps.  Don't let that "computer guy" near
any of your Linux boxes.  (Even if he knows quite a bit
about MS Windows I wouldn't let him near any of my systems,
his advice was horridly uninformed and it sounds like he
delivered his misinformation with an air of authority
and conviction that exacerbates the problem).
</BLOCKQUOTE>
<!-- sig -->


<!-- end 4 -->
<!--              . . . . . . . . . . . . . . . . . . .              -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 4 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Linux password lost</H3>


<p><strong>From Joy Higgins on Tue, 18 Jan 2000  
</strong></p>
<P><STRONG>
Thank you so much for your quick response!!  I'm printing it out and
bringing it home...  and the "computer guy" isn't getting any more business!
</STRONG></P>
<P><STRONG>
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">  Thanks again!
</STRONG></P>
<P><STRONG>
Joy
</STRONG></P>

<!-- end 4 -->
<!--startcut ======================================================= -->
<P> <hr> <P>
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
	>Copyright &copy;</a> 2000, James T. Dennis 
<BR>Published in <I>The Linux Gazette</I> Issue 50 February 2000</H5>
<H6 ALIGN="center">HTML transformation  by
	<A HREF="mailto:star@starshine.org">Heather Stern</a> of
	Starshine Technical Services,
	<A HREF="http://www.starshine.org/">http://www.starshine.org/</A> 
</H6>
<P> <hr> <P>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<TABLE WIDTH="95%"><TR VALIGN="center" ALIGN="center">
<TD colspan="2" rowspan="2"><A 
	HREF="../lg_answer50.html"
	><IMG SRC="../../gx/dennis/answernew.gif"
              ALT="[ Answer Guy Current Index ]"></A>
<TD colspan="2" rowspan="2"><A 
	HREF="../../tag/kb.html"
	><IMG SRC="../../gx/dennis/answertoc.gif"
              ALT="[ Index of Past Answers ]"></A></td>
  <TD WIDTH="11%"><A HREF="../lg_answer50.html#greeting"><img
	src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A></TD>
  <TD WIDTH="11%"><A HREF="1.html">1</A></TD>
  <TD WIDTH="11%"><A HREF="2.html">2</A></TD>
  <TD WIDTH="11%"><A HREF="3.html">3</A></TD>
  <TD WIDTH="11%"><A HREF="4.html">5</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="11%"><A HREF="5.html">5</A></TD>
  <TD WIDTH="11%"><A HREF="6.html">6</A></TD>
  <TD WIDTH="11%"><A HREF="7.html">7</A></TD>
  <TD WIDTH="11%"><A HREF="8.html">8</A></TD>
  <TD WIDTH="11%"><A HREF="9.html">9</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="10%"><A HREF="10.html">10</A></TD>
  <TD WIDTH="10%"><A HREF="11.html">11</A></TD>
  <TD WIDTH="10%">&nbsp;</TD>
  <TD WIDTH="10%"><A HREF="13.html">13</A></TD>
  <TD WIDTH="11%"><A HREF="14.html">14</A></TD>
  <TD WIDTH="11%"><A HREF="15.html">15</A></TD>
  <TD WIDTH="11%"><A HREF="16.html">16</A></TD>
  <TD WIDTH="11%"><A HREF="17.html">17</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="10%"><A HREF="18.html">18</A></TD>
  <TD WIDTH="10%"><A HREF="19.html">19</A></TD>
  <TD WIDTH="10%"><A HREF="20.html">20</A></TD>
  <TD WIDTH="10%"><A HREF="21.html">21</A></TD>
  <TD WIDTH="11%"><A HREF="22.html">22</A></TD>
  <TD WIDTH="11%"><A HREF="23.html">23</A></TD>
  <TD WIDTH="11%"><A HREF="24.html">24</A></TD>
  <TD WIDTH="11%">&nbsp;</TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="10%"><A HREF="26.html">26</A></TD>
  <TD WIDTH="10%"><A HREF="27.html">27</A></TD>
  <TD WIDTH="10%"><A HREF="28.html">28</A></TD>
  <TD WIDTH="10%"><A HREF="29.html">29</A></TD>
  <TD WIDTH="11%"><A HREF="30.html">30</A></TD>
  <TD WIDTH="11%"><A HREF="31.html">31</A></TD>
  <TD WIDTH="11%"><A HREF="32.html">32</A></TD>
  <TD WIDTH="11%"><A HREF="33.html">33</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="10%"><A HREF="34.html">34</A></TD>
  <TD WIDTH="10%">&nbsp;</TD>
  <TD WIDTH="10%"><A HREF="36.html">36</A></TD>
  <TD WIDTH="10%"><A HREF="37.html">37</A></TD>
  <TD WIDTH="11%"><A HREF="38.html">38</A></TD>
  <TD WIDTH="11%"><A HREF="39.html">39</A></TD>
  <TD WIDTH="11%"><A HREF="40.html">42</A></TD>
  <TD WIDTH="11%"><A HREF="41.html">41</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD WIDTH="10%"><A HREF="42.html">42</A></TD>
  <TD WIDTH="10%"><A HREF="43.html">43</A></TD>
  <TD WIDTH="10%"><A HREF="44.html">44</A></TD>
  <TD WIDTH="10%"><A HREF="45.html">45</A></TD>
  <TD WIDTH="11%"><A HREF="46.html">46</A></TD>
  <TD WIDTH="11%"><A HREF="47.html">47</A></TD>
  <TD WIDTH="11%"><A HREF="48.html">48</A></TD>
</TR></TABLE>
</TR><TR VALIGN="center" ALIGN="center">
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<P> <hr> <P>
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<A HREF="../index.html"
	><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
<A HREF="../../index.html"
	><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
<A HREF="../lg_bytes50.html"
	><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
<A HREF="../../faq/index.html"
	><IMG SRC="../../gx/dennis/faq.gif"
              ALT="[ Linux Gazette FAQ ]"></A>
<A HREF="../lg_tips50.html"
	><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
</BODY></HTML>
<!--endcut ========================================================= -->