Removing rstudio and its user from the system
I installed rstudio on my system, but I don't need it now. It has created its own user. Whenever I turn my system on, two users appear on the screen. This has happened only after installing rstudio. I don't want rstudio and its user as well.
I successfully uninstalled rstudio by sudo apt-get purge rstudio.
Still the login page is showing two users. Then I logged in to the second "rstudio" user and opened its terminal.
When I used deluser command there, I got this error.
rstudio@ubuntu-Vostro-15-3568:~$ sudo deluser
rstudio is not in the sudoers file. This incident will be reported.
Please help me to delete this user.
sudo rstudio
|
show 1 more comment
I installed rstudio on my system, but I don't need it now. It has created its own user. Whenever I turn my system on, two users appear on the screen. This has happened only after installing rstudio. I don't want rstudio and its user as well.
I successfully uninstalled rstudio by sudo apt-get purge rstudio.
Still the login page is showing two users. Then I logged in to the second "rstudio" user and opened its terminal.
When I used deluser command there, I got this error.
rstudio@ubuntu-Vostro-15-3568:~$ sudo deluser
rstudio is not in the sudoers file. This incident will be reported.
Please help me to delete this user.
sudo rstudio
3
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Did you try uninstalling the same way?sudo apt remove r-base
– user535733
Jan 4 at 5:25
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55
|
show 1 more comment
I installed rstudio on my system, but I don't need it now. It has created its own user. Whenever I turn my system on, two users appear on the screen. This has happened only after installing rstudio. I don't want rstudio and its user as well.
I successfully uninstalled rstudio by sudo apt-get purge rstudio.
Still the login page is showing two users. Then I logged in to the second "rstudio" user and opened its terminal.
When I used deluser command there, I got this error.
rstudio@ubuntu-Vostro-15-3568:~$ sudo deluser
rstudio is not in the sudoers file. This incident will be reported.
Please help me to delete this user.
sudo rstudio
I installed rstudio on my system, but I don't need it now. It has created its own user. Whenever I turn my system on, two users appear on the screen. This has happened only after installing rstudio. I don't want rstudio and its user as well.
I successfully uninstalled rstudio by sudo apt-get purge rstudio.
Still the login page is showing two users. Then I logged in to the second "rstudio" user and opened its terminal.
When I used deluser command there, I got this error.
rstudio@ubuntu-Vostro-15-3568:~$ sudo deluser
rstudio is not in the sudoers file. This incident will be reported.
Please help me to delete this user.
sudo rstudio
sudo rstudio
edited Jan 4 at 9:50
SurvivalMachine
1,3013717
1,3013717
asked Jan 4 at 4:36
NiranjanNiranjan
184
184
3
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Did you try uninstalling the same way?sudo apt remove r-base
– user535733
Jan 4 at 5:25
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55
|
show 1 more comment
3
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Did you try uninstalling the same way?sudo apt remove r-base
– user535733
Jan 4 at 5:25
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55
3
3
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Did you try uninstalling the same way?
sudo apt remove r-base– user535733
Jan 4 at 5:25
Did you try uninstalling the same way?
sudo apt remove r-base– user535733
Jan 4 at 5:25
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55
|
show 1 more comment
2 Answers
2
active
oldest
votes
Thank you so much everyone for your efforts.
I was putting username when I was asked for user. I checked the command that I used to add the user. ie.
sudo adduser rstudio
As I was putting the user"name" in the command, it wasn't working.
I simply used
sudo deluser rstudio
and I got this!
Removing user 'rstudio' ...
Warning: group 'rstudio' has no more members.
Done.
Now everything is fine. :)
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
add a comment |
Use sudo apt-get purge r-base.
This works like apt remove but also deletes configuration files.
After that, issue the following commands: sudo deluser --remove-all-files rstudio sudo deluser --group --remove-all-files rstudio
This will remove the system user created by the installer, which is not automatically removed by the uninstaller.
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluserdoesn't exists, what OS is this?
– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosendeluseris a wrapper arounduserdelon Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehowdeluseris missing, you can install it withsudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)
– MTippetts
Jan 4 at 23:39
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106804%2fremoving-rstudio-and-its-user-from-the-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thank you so much everyone for your efforts.
I was putting username when I was asked for user. I checked the command that I used to add the user. ie.
sudo adduser rstudio
As I was putting the user"name" in the command, it wasn't working.
I simply used
sudo deluser rstudio
and I got this!
Removing user 'rstudio' ...
Warning: group 'rstudio' has no more members.
Done.
Now everything is fine. :)
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
add a comment |
Thank you so much everyone for your efforts.
I was putting username when I was asked for user. I checked the command that I used to add the user. ie.
sudo adduser rstudio
As I was putting the user"name" in the command, it wasn't working.
I simply used
sudo deluser rstudio
and I got this!
Removing user 'rstudio' ...
Warning: group 'rstudio' has no more members.
Done.
Now everything is fine. :)
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
add a comment |
Thank you so much everyone for your efforts.
I was putting username when I was asked for user. I checked the command that I used to add the user. ie.
sudo adduser rstudio
As I was putting the user"name" in the command, it wasn't working.
I simply used
sudo deluser rstudio
and I got this!
Removing user 'rstudio' ...
Warning: group 'rstudio' has no more members.
Done.
Now everything is fine. :)
Thank you so much everyone for your efforts.
I was putting username when I was asked for user. I checked the command that I used to add the user. ie.
sudo adduser rstudio
As I was putting the user"name" in the command, it wasn't working.
I simply used
sudo deluser rstudio
and I got this!
Removing user 'rstudio' ...
Warning: group 'rstudio' has no more members.
Done.
Now everything is fine. :)
answered Jan 4 at 10:10
NiranjanNiranjan
184
184
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
add a comment |
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
1
1
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
Also remove the group rstudio.
– vanadium
Jan 4 at 14:28
add a comment |
Use sudo apt-get purge r-base.
This works like apt remove but also deletes configuration files.
After that, issue the following commands: sudo deluser --remove-all-files rstudio sudo deluser --group --remove-all-files rstudio
This will remove the system user created by the installer, which is not automatically removed by the uninstaller.
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluserdoesn't exists, what OS is this?
– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosendeluseris a wrapper arounduserdelon Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehowdeluseris missing, you can install it withsudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)
– MTippetts
Jan 4 at 23:39
add a comment |
Use sudo apt-get purge r-base.
This works like apt remove but also deletes configuration files.
After that, issue the following commands: sudo deluser --remove-all-files rstudio sudo deluser --group --remove-all-files rstudio
This will remove the system user created by the installer, which is not automatically removed by the uninstaller.
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluserdoesn't exists, what OS is this?
– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosendeluseris a wrapper arounduserdelon Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehowdeluseris missing, you can install it withsudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)
– MTippetts
Jan 4 at 23:39
add a comment |
Use sudo apt-get purge r-base.
This works like apt remove but also deletes configuration files.
After that, issue the following commands: sudo deluser --remove-all-files rstudio sudo deluser --group --remove-all-files rstudio
This will remove the system user created by the installer, which is not automatically removed by the uninstaller.
Use sudo apt-get purge r-base.
This works like apt remove but also deletes configuration files.
After that, issue the following commands: sudo deluser --remove-all-files rstudio sudo deluser --group --remove-all-files rstudio
This will remove the system user created by the installer, which is not automatically removed by the uninstaller.
edited Jan 4 at 23:47
answered Jan 4 at 5:34
MTippettsMTippetts
94117
94117
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluserdoesn't exists, what OS is this?
– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosendeluseris a wrapper arounduserdelon Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehowdeluseris missing, you can install it withsudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)
– MTippetts
Jan 4 at 23:39
add a comment |
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluserdoesn't exists, what OS is this?
– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosendeluseris a wrapper arounduserdelon Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehowdeluseris missing, you can install it withsudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)
– MTippetts
Jan 4 at 23:39
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
R was successfully uninstalled, but the username still appears. Terminal shows this error = /usr/sbin/deluser: The user `Niranjan' does not exist.
– Niranjan
Jan 4 at 6:34
deluser doesn't exists, what OS is this?– George Udosen
Jan 4 at 7:07
deluser doesn't exists, what OS is this?– George Udosen
Jan 4 at 7:07
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
It says user that I mentioned doesn't exist. My OS is ubuntu 18.04. I use xfce4 desktop environment.
– Niranjan
Jan 4 at 7:22
@GeorgeUdosen
deluser is a wrapper around userdel on Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehow deluser is missing, you can install it with sudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)– MTippetts
Jan 4 at 23:39
@GeorgeUdosen
deluser is a wrapper around userdel on Debian-based distributions of Linux, including Ubuntu. If you're using Ubuntu -- or any distro based thereon -- and somehow deluser is missing, you can install it with sudo apt-get install adduser. If you're not using Ubuntu, answers in Ask Ubuntu may not apply to your situation. ;-)– MTippetts
Jan 4 at 23:39
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106804%2fremoving-rstudio-and-its-user-from-the-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
How exactly did you install it?
– steeldriver
Jan 4 at 4:42
Via terminal. sudo apt -y install r-base
– Niranjan
Jan 4 at 5:05
Did you try uninstalling the same way?
sudo apt remove r-base– user535733
Jan 4 at 5:25
Highly unlikely this added a user!
– vanadium
Jan 4 at 7:49
@vanadium you are right. Actually immediately after it I installed rstudio, which created a user. Kindly read my edited question.
– Niranjan
Jan 4 at 7:55