Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That's the whole point of shadow... Are you locked out and want/need to get into the system? Reboot into single user mode and reset root password, reboot. As for users, I don't know how you can discover the password, but you can always reset it.
u cant ... thats the whole idea of passwords
You can probably get certain programs that "test the strength of passwords" by cracking them ... but I dont think that thats appropriate for this forum, or site for that matter.
If you can log in as root and you don't have the password for some user account, you can change the password of that account. But if you are root, you can easily access that user account through the /home directory.
BTW, how come a system admin won't have this knowledge already?
This would prompt you to key in the new password for that account. Give it the new password and then, you can login into that account by using this password.
It's not logging in as that user but "switching" to that user. type exit to end su process"
Typing exit would not help if I was text mode.
Look say I have a network of 5 Linux boxs. I am root in all and say all the boxs have two different users and both users are not me. If I am running root in text mode and I want to login as another user. How do I do that?
"Look say I have a network of 5 Linux boxs. I am root in all and say all the boxs have two different users and both users are not me. If I am running root in text mode and I want to login as another user. How do I do that?"
I have no idea what you are wanting here. You want to log into the other boxes as another user? ssh user@box_name
If you have 5 boxes with identical accounts on all, you should consider using something like LDAP authentication so if you change the password on LDAP, you don't have to worry about changing it on all the machines.
"Typing exit would not help if I was text mode."
That is the easiest way to get out of su. How would you go about it?
You can switch do another user ony if you're root. Passwords are kept in /etc/shadow, but they're hashed, so to get someone's password you'd need to try and guess it. There's no other way.
BTW To swicth user when you're root use
Thats worked thanks. How do I kill an x session, as I can not startx another x server while one is running.
I know that by altering inittab in etc i can get it to run x, but is their a faster temporary way.