Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Ive tried searching the forums for this issue, but can't find anything similar. So I apologize in advance if this has already been asked, but maybe someone can point me in the right direction?
Here is my current scenario. In a school district of over 1000 students, we have setup a Linux server with Thin Clients using NoMachines NX, which is authenticating against AD. We are currently using Winbind and Kerberos for authentication and Pam to mount their AD home dirs. This all works great, but we also have a Windows application server for must have windows apps, to access those, we are using rdesktop to launch a single application. The shortcut would be as follows (rdesktop -g 95% -T <program name> <serverIP> -s <path to program> -S "standard") The reason for this is so when they login to rdesktop it will map their home dir so they can save for example a Word document.
But heres what Im looking for, as you can probably tell, each time a user launches a "Windows App" using rdesktop, they have to log in. So what I want to do is somehow have rdesktop pull thier login and password in from their original login to the Linux box.
I was thinking of creating some sort of Pam module to intercept their login credentials and stick in something like ~/.credentials or something like that, and have rdesktop pull from that file, but no luck so far. I guess with 700 permissions on the home dir that wouldn't be so bad being that it would have to be clear text. Anyway, any help would be appreciated!!!!
Thanks in advance.
I think it's a noble idea to try to make this a seamless login, but I'm also thinking you're going to enrage the first user who finds his login and password stored as plain-text in his home directory.
Short answer: I don't know of any way to do this safely with rdesktop, since it appears to require password authentication. Sounds like a situation where the user is going to have to deal with logging in again. (You know how convenience and security are inversely proportional...)
Thanks for the reply! I know exactly what your saying with the clear text password file. Unfortunately I cannot figure out any other way to make this happen, in fact, am beginning to believe its impossible. The students are dealing with the login everytime they launch an app better than I thought they would, but I just thought I'd try to be the hero and make that happen seamlessly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.