Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im new to Linux and am not too sure about this concept. Do ALL linux distros. make the passwd file shadowed by default? Is there anyway I can change the setting so my /etc/passwd file is no shadowed on my server?
Is there anyway I can change the setting so my /etc/passwd file is no shadowed on my server?
man pwunconv, but AFAIK there are no good reasons to do so.
If you have good reasons to do so, please post them.
well i guess I had to learn the hardway not to mess around with passwd files. What I did was get a passwd file from another server which was shadowed, made a backup of my own passwd, then replaced it with that one. after ran the command u gave me to unshadow it. and then copy it somewhere else then replace it with my old one. But for some reason everything got screwed up and it wouldnt let me login with my own info even tho I had replaced the passwd file :S now just out of curiosity, the method i mentioned above, will it actually work if done properly? or you cant replace passwd files. Im a linux newbie and am just trying new things. please let me know.
thanks
well i was just reading on some stuff and now im kicking myself in the ass for being stupid.. I figured out that the commands u told me, uses the /etc/shadow file in order to unshadow the /etc/passwd. So forget what i said up there. Very stupid method :S i dont know what i was thinking
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.