Re: [newbie] single user boot: i still cannot change root password

2002-10-03 Thread Ma Anguo


- Original Message -
From: "Derek Jennings" <[EMAIL PROTECTED]>

> If in the future you get 'locked out' in any way. Avoid pressing that
reset
> button.
> The graceful way to restart a Linux system is described here
> http://www.linux-mandrake.com/en/doc/82/en/ref.html/ts-system-freeze.html
>
> Secondly you will have much less risk of corrupting your drive with an
> unexpected reset if you use one of the journalling file systems like,
Ext3,
> Reiserfs or XFS
>
> If your partitions are currently Ext2 you can upgrade them to Ext3 without
> damaging your data.
>
> derek

Thanks a lot derek,
I'll investigate both points before bed time, when i get back from work
tonight.

I have been using Linux on and off for about a year, but I still have so
much to learn.


Blessings,


anguo




















Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] single user boot: i still cannot change root password

2002-10-03 Thread Ma Anguo


- Original Message -
From: "Franki" <[EMAIL PROTECTED]>

> boot from the CD. and at the prompt. type "rescue" without the prompts...
> it will then boot the CD install kernel and stuff and when finished you
can
> type:
> chroot /mnt
> then change your passwords etc...


Thanks ever so much... It worked perfectly this way.

:-D

Blessings,

Anguo











Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] single user boot: i still cannot change root password

2002-10-02 Thread Ma Anguo



I upgraded the security level of my mandrake 8.2 box from the lowest to the
intermediate (3) level.

Now I don't have access to any user, including root, because my passwords
are all expired. I couldn't su to root and couldn't shutdown the box
(ctr+alt+del didn't respond). I was stuck with the graphical login and had
to press the reset button :-( , messing the filesystem...

I googled the internet to find out how to boot as a single user and change
the root password. Here is what I did.

lilo> linux runlevel 1
or
lilo> linux single
didn't help. The file system is messed (du to hard reset) and I am faced
with the alternative of either supplying the root password (which I don't
have) for maintenance or press ctr+D to do a normal start, which brings me
back to the stallemate above...

(btw, is there any difference between:
linux runlevel 1   ,
linux init 1   and
linux single  ?)

I then tried:

lilo> linux init=/bin/sh rw

which gave me an init prompt.

I typed su and without asking for a password, I got the root prompt:
[root@(none) / ]#

I located the passwd command in the filesystem and tried it:
# ./passwd root
./passwd: permission denied.
I have the same result at the init or root prompt.

I then tried to modify the /etc/passwd file to erase the root pass (as I
read I could do when I googled the web).
vi didn't work but I found a vim-minimum in the filesystem and used it to vi
/etc/passwd but the file was read only and any attempt to write it failed.

Another note that might be important: the /usr filesystem was not mounted
and I didn't mount it because the filesystem got corrupted and trying to
mount it would have brought plenty of error messages and I wouldn't have
known what to do).

So: I lost my root password (not that I forgot it but it unexpectedly got
expired!)
I could login and su to root as a single user but still could do anything
about it!

Beside getting me back my user and root password, I'd like to know if it is
possible to switch back to a lower security level... I cannot manage my box
at a higher level


Thanks,

Anguo









Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



man man (Re: [newbie] tar.bz2 -- thanks!

2001-08-30 Thread Ma Anguo

Robert MacLean banged on their keyboard and produced the following 
arrangement of letters:
- what does the -k on man do?
- normally i use just man 

see 
man man
and
man apropos


anguo




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Big5 or Mandrake in the land of Formosa.

2001-08-25 Thread Ma Anguo

Frank Chen banged on their keyboard and produced the following arrangement of 
letters:
| That may be caused from my choosing a font to display my letter, and the
| encoding is big5!
| Frank

Hi Frank!

nice to see that there is someone else from the Republic of China on this 
list using Mandrake (8.0?).

Do you use xcin?
I don't find it user friendly and the input box is too small so I don't see 
the characters that  I am typing. As a result I avoid typing in chinese... 
I am getting lazy. 

Do you know if there is a way to use Unicode instead of big5...?
I need unicode badly but xcin doesn't support it. 

Also, can you print anything in chinese with mandrake 8.0?
I can't but Civileme told me that it wouldn't be a problem with 8.1.

Do you still use Micrappysoft? 
I don't anymore. I don't even have it. 
I use linux mandrake for everything and nothing else for the rest...

Do you use mandrake as a web server only?


I live in Taichung. 


Nice to meet you,


Anguo






































Want to buy your Pack or Services from MandrakeSoft? 
Go to http://.mandrakestore.com