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.
I'm just wondering if you can see other users' passwords when you're logged in as root. I know you can change their passwords if you want, but can you actually view them? Thanks.
I don't believe so, linux passwords are stored in a one way enrypted form (DES) - sure you could view the encrypted passwords, but to decrypt them by bruteforcing could take a VERY long time.
yes, root can surely view /etc/shadow but since the passwords are stored in an encrypted form (MD5), (s)he would not be able to get the clear text form without some tool.
As root can
#su - <username>
(s)he would hardly require a user password.
If a user has the same password on all the systems (s)he uses, and root of one system does not have any rights on other systems and this root does not bear the best of character, (s)he *may* be able to extract the clear text password of a target user to gain access to the other system. (Is that a bit confusing?)
Again, as pointed in the earlier post, this password extraction activity (to my belief) is time consuming.
there are lists of all the possible encryptions for every word in a dictionary that people can use to decrypt a password, so if there pass is a dictionary word it would be possible if you have such a list in your possession
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.