Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
i'm wondering if there is a way to remove all the passwords from all my users? just set it to nothing? if anyone knows of a way to do this i'd really like to know.
also is there a way to get a read out of all the users on my system? and put them in a text file would be great too?
All your users are stored in /etc/passwd and their passwords are stored in the /etc/shadow on most systems by default.. unless your authenticating by other means..
How many users are we talking about here? A simple bash script might be a good exercise for you to change them all with ease but if its just a few users, manually would be just as easy. And remember not to mess with the system users and root user.
i'm looking at using winbind to Authenticate against my AD domain.
The way i've got it setup is the user has to be added on my redhat box and if the user has no password then it goes to ADS to get the password, if it has a password then it gets the password from my redhat box.
the reason being is i'm using redhat as my mail server and some people have e-mail address and not domain accounts.
i'm only using locate Authentication
and i have over 700 users.
so my clearing the /etc/shadow file it will remove all passwords?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.