Brian:

With regards to your password question - you won't be able to find the
password that someone is using - this is by design.  The password
mechanism uses a one-way encryption.  The way login works is to encrypt
the user supplied password with the same algorithm that was used when the
user set/changed his password.  If the encrypted supplied password matches
the one saved in /etc/passwd, the user is authenticated and allowed to
continue.  Since it is a one-way encryption, you can't (at least not
easily) go the other way.  If your son forgot his password, simply go into
the /etc/passwd file (as root) and remove the encrypted string
representing his encrypted password.  The next time he logs in, he won't
need to supply a password.  After that, he should then issue passwd to
change it to something so no one else can get in.

-Rod

On Mon, 19 Oct 1998, Brian Lehr wrote:

> I finally got my swap file working.  When the system boots, the message
> is as follows: 
> Adding Swap: 48156 swap-space (priority -1)
> 
> What does the priority -1 mean?
> 
> In regards to passwords, how do I, as root, find the login passwords of
> all of my users?  My son went to login today, but forgot his password. 
> We set up another one, but how where do I look to find the list?  I
> checked the /etc/passwd files, but they're all shadowed or encrypted.
> 
> Brian
> 

Reply via email to