this is my first time using Linux, and I'm shooting in the dark here.
I'm using Ubuntu 14.04 LTS and the latest version of Rstudio Server.
After much trial and error I finally managed to join my company's local domain, which enables network users to log into the Linux machine.
I have no problems logging into the Rstudio Server using a local account, but I can't log in using a network user account.
I've been on many help pages (below) but they haven't been much help:
Password Database for RStudio Server?
NIS/AD Authentication with RStudio Server
Deploying Rstudio Server for Classrooms
RStudio Server - Log-in and User Authentication Problems
Accesing RStudio using domain credentials
Any help or directions would be greatly appreciated.
I know it has been a while, but I just stumbled upon your question.
Probably it not relevant any more, nevertheless, I will briefly contribute.
Since you are a first time Linux user, I assume that you didn't make the investment of buying into the RStudio Server Professional Edition.
Active Directory user login is not available for the Open Source Edition. Only local users are allowed with the Open Source Edition.
Related
Is it possible to deploy installers (for example Chrome browser .exe file) to install on Windows client computers across all office buildings using OpenLDAP? The OpenLDAP is installed on CentOS 8. If it is not possible can Active Directory Help Me?
Why would you use a directory service to store binary files? This might be possible but it's a terrible idea.
Active Directory is a broad suite of tools. AD Domain Services is basically the OpenLDAP equivalent https://social.technet.microsoft.com/wiki/contents/articles/699.active-directory-domain-services-ad-ds-overview.aspx and doesn't do what you want
AD GP (Group Policy) allows you to push software https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/use-group-policy-to-install-software but if you're only using it to push a Chrome installer, it's overkill to set it all up. It does work though!
You can also use SCCM (oh I guess it's called MECM now, haven't touched it in a hot minute).
I'm previewing Azure Labs (managed) which is in preview at this moment. I've followed a tutorial from Microsoft on how to get started.
I've created a classroom lab with 3 virtual machines, based of a default Ubuntu image from the Marketplace. I've copied/pasted the default credentials of that template which is used for all virtual machines in that classroom lab.
Then I published it, added a user, got a registration link and used that to register as that user (a so called student). I can see the VM I expected to see. I can start it, wait some 30 seconds and then I can click on the connect button to get the ssh connection details. I open terminal, paste the ssh connection details and I get a password challenge. Excellent! So far it all works as expected. But when I enter the password I copied from the default template, permission is denied. So I try again, denied. So I wait a minute (maybe the VM needs some more time to fully boot up), but permission denied.
The tutorial looks very easy to me, I choose a default Ubuntu 18.04 LTS image to be used. I even tried to create a new classroom lab, but during creation of that template, I choose to start it, connect to it and install additional software before publishing it. That worked (as I expected). But when I publish that classroom lab, register a student account and try to login to a VM in that classroom with the correct default credentials I used to install additional software, I too get permission denied.
I'm confused.
Anyone?
Thanks to D43m0n for the feedback from Microsoft. I have been having the same issue but on CentOS images.
It appears the provisioning of the student machines after the template is published locks the default user account. Creating a new user is not such a great workaround because students will have to change the SSH or RDP settings to connect. The issue also affects more than just Ubuntu. I am seeing it on the newer version of CentOS (7.8 and greater it looks like). I think it is for any images that use cloudinit for the provisioning of the student machines. The older CentOS images use WALinuxAgent and don't seem to have this issue.
I have worked around it unlocking the default user account in /etc/rc.d/rc.local so that is executed on boot. The rc file differs on other systems so check what it is for your flavour of linux.
usermod -U default_username
This has fixed the issue for me until Microsoft fix their provisioning.
thanks for posting! Were you able to connect to the template machine (Ubuntu) and then you weren't able to connect to the student machine (Ubuntu)? Could you copy the exact error message you're seeing?
We are aware of an issue with Ubuntu images--when you connect, the VM tells you to reset the password but doesn't provide a way to do so. We're working on a feature that will resolve this issue.
Is this what you're seeing?
You can use other flavors of Linux fine.
Let us know!
In the template-vm create a new user:
sudo adduser newuser #follow the agent
sudo usermod -aG sudo newuser
after that you can start your course vm's an login with that user.
I have Visual Studio 2013 and a pretty basic MVC web application.
When I am connected to my work network (hard wire or VPN) I can open up VS without issue. However when not connected to my work network I get the following error:
---------------------------
Microsoft Visual Studio
---------------------------
Creation of the virtual directory http://localhost:54156/ failed with the error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
---------------------------
OK
---------------------------
I've tried granting my user rights to IIS via the aspnet_regiis -ga mydomain\myuser and that did not help.
I am certainly running VS as an administrator. It works just fine when connected to the network. Our security and server teams do not seem to understand why this would behave this way.
Is this IIS Express? I (and those I work with) often get a similar error due to the domain login script encrypting My Documents. It's fixed by simply decrypting
Documents\IISExpress\config\applicationhost.config
Not sure if that's the issue here though;
Ultimately I believe this to be an issue between our network policies and the IIS and .NET installs.
When I was off network it could not access the cached user folders. Switching from having the home drives on network to having them local did not fix the issue (assuming some files were still referencing the network location).
I had my system refreshed and started with my user folders as local and have not had the issue since.
I know it's an old question, but at my location the user profile is stored on the network. When I checked to see if the IISExpress application was encrypted as Chad Schouggins suggested, I didn't even have a documents folder. Ultimately, the answer was really simple:
turn the machine off and back on again.
Few days ago I was asking about getting $_SERVER['REMOTE_USER'] as apache.
After few hours I have found a module for apache which allows me to get $_SERVER['PHP_AUTH_USER'] variable which is similiar to $_SERVER['REMOTE_USER'] on windows IIS service.
Now I have to move my apps from windows/xampp server to linux (probably some kind of debian distro - don't know it yet).
And my questions is:
Is it possible to get remote username on linux? (users are login into domain, site works only on local intranet with no internet access)
Does this module also works on linux-apache or it is only for windows?
Is there any similiar module which allows me to get aforementioned variable?
For anyone looking for an answer there is mod_auth_gssapi which can be used for remote authentication with Windows.It also supplies the mentioned REMOTE_USER variable. You can find a link to the Github repo here:
Github
I'm a newbie in the open source world. Always used to paying i can't imagine we can get a whole OS for free!!! None the less from reputed companies like Oracle, i'm sold! OK so i got Oracle Linux server 6.1 installed and its running fine. I also checked all the boxes under webserver and MySQl during installation and i can see the Apache home page when i type localhost on the browser and i have started both the Apache & the MySql services.
My question: is there a GUI based admin tool like phpmyadmin to administer the MySql DB which is already installed? If not can someone point me to a step by step guide for the same. I have been trying since last 4 days and i just can't understand how to do this and what is required? I also saw some post saying something like Oracle Enterprise Manager is available through which we can administer the DB but i just can't find out how to get to the console? Is there a locahost url or something to get it to work?
Finally all i want to do is run Drupal on the Linux server and be able to administer the DB with phpmyadmin, if everything is complicated can i just install LAMP or XXAMP which will give me everything i need in one go. Although i feel since Apache & MySQL is already installed when i installed the OS not sure what will happen.
I know i'm all over the place, making the transition from Windows and am really new to this. Any help will be greatly appreciated.
Thanks,
KK
Oracle Enterprise Linux is based off of the Red Hat sources, just like CentOS.
Found a link on how to get it setup with CentOS 6, which should work for OEL.