John Mort wrote:
> On Tue, Mar 18, 2008 at 8:46 PM, Michael Quick
> <[EMAIL PROTECTED]> wrote:
>   
>>  Hi,
>>  I think you could do something like installing shadow-utils and using
>>  pwconv to build shadow and then put in place the files.  However, the
>>  defaults with Fedora 8 have it setup already (since the first Fedora
>>  release). I highly recommend just sucking it up and re-installing ..  :-P
>>
>>     
>
> Well all I did to fix it was reset the password on the accounts he had
> set up.  When prompted I reentered the password and it encrypted it.
> The problem was just that he was ising the -p parameter thinking that
> you assign the password there.
> useradd foo -p password
> Instead of 'password', he should have encrypted 'password' and entered
> the results:
> useradd foo -p $1$asnheanhjuvarVAHE
>
>
>   
 Ah, would have never guessed THAT to be the problem.  Actually I was 
going to ask you to create an account (w/GUI) to see what happened, but 
assumed you had already done so.  Also I incorrectly assumed that your 
buddy used the GUI himself (as an end user) to create the accounts and 
therefore illustrated something more serious was wrong.  I made too many 
assumptions :-(...

I guess that explains why the root account was created correctly.  
Probably the correct way to set passwords is to just use the passwd 
command.  Also doing that would fix the 'broken' accounts.

useradd -G wheel -c "user x" userid
passwd userid
chage -M xxx userid      xxx=days before passwd expired





_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Mar 5 - Wearable Linux Computing
  Apr 2 - Building a Kernel the Debian / Ubuntu way
  May 7 - Setting up a platform-independent home/small office network using 
Linux
  Jun 4 - TBD
  Jul 2 - KVM (Tenative)

Reply via email to