Re: [FC8] useradd anomaly - GUI or command line???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deepak Shrestha wrote:
>> No...  It meas that the password provided must already be in encrypted
>> format.  "The encrypted password, as returned by crypt".
>>
>> You can see the results of your command by looking in /etc/shadow after you
>> use the "useradd" command.  You will see the password field contains
>> "secret666".
> 
> in /etc/shadow
> 
> I can see the password of newly created user through useradd in plain
> text (as you said) but the user password of other users created from
> GUI is encrypted (something like $lkd090s909.......).
> 
> what does that mean and how can I make that user to be able to log in?

Well....

You could use a script such as the one found at
http://sial.org/howto/perl/password-crypt/crypt-example to generate the MD5
encrypted password and then place the md5 result as the parameter specified
in -p.  But, you'd have to be careful to escape certain character...such as
the $.

I guess the question is...what are you trying to achieve?


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux