How to transfer all user settings and preferences to root and delete all users except root?
up vote
-1
down vote
favorite
How to transfer all files, settings and preferences from a user to root and delete all users but root ?
I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root.
Root login is enabled and just want to transfer every thing from the user to the root and make the system a root only pc.
the question is how to do it and not why shouldn't it be done.
18.04 root user-management
add a comment |
up vote
-1
down vote
favorite
How to transfer all files, settings and preferences from a user to root and delete all users but root ?
I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root.
Root login is enabled and just want to transfer every thing from the user to the root and make the system a root only pc.
the question is how to do it and not why shouldn't it be done.
18.04 root user-management
1
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
How to transfer all files, settings and preferences from a user to root and delete all users but root ?
I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root.
Root login is enabled and just want to transfer every thing from the user to the root and make the system a root only pc.
the question is how to do it and not why shouldn't it be done.
18.04 root user-management
How to transfer all files, settings and preferences from a user to root and delete all users but root ?
I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root.
Root login is enabled and just want to transfer every thing from the user to the root and make the system a root only pc.
the question is how to do it and not why shouldn't it be done.
18.04 root user-management
18.04 root user-management
edited Nov 27 at 18:20
asked Nov 27 at 3:06
Amr Berag
994
994
1
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18
add a comment |
1
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18
1
1
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
If you are new to Linux, it's not recommends to do that. You do that only if you have enough reason.
However, if you insist, copy all files and dirs (including hidden files started with ".") from /home/USERNAME/
to /root/
and chown root:root -R
them. That won't insure it can seamlessly work. After that you still have to encounter problems, cause in some files user name and home folder path is written there.
Desktop itself runs well on root. If you already logged in desktop as root, don't copy the files started with .xauth
from user home folder.
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
If you are new to Linux, it's not recommends to do that. You do that only if you have enough reason.
However, if you insist, copy all files and dirs (including hidden files started with ".") from /home/USERNAME/
to /root/
and chown root:root -R
them. That won't insure it can seamlessly work. After that you still have to encounter problems, cause in some files user name and home folder path is written there.
Desktop itself runs well on root. If you already logged in desktop as root, don't copy the files started with .xauth
from user home folder.
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
add a comment |
up vote
1
down vote
If you are new to Linux, it's not recommends to do that. You do that only if you have enough reason.
However, if you insist, copy all files and dirs (including hidden files started with ".") from /home/USERNAME/
to /root/
and chown root:root -R
them. That won't insure it can seamlessly work. After that you still have to encounter problems, cause in some files user name and home folder path is written there.
Desktop itself runs well on root. If you already logged in desktop as root, don't copy the files started with .xauth
from user home folder.
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
add a comment |
up vote
1
down vote
up vote
1
down vote
If you are new to Linux, it's not recommends to do that. You do that only if you have enough reason.
However, if you insist, copy all files and dirs (including hidden files started with ".") from /home/USERNAME/
to /root/
and chown root:root -R
them. That won't insure it can seamlessly work. After that you still have to encounter problems, cause in some files user name and home folder path is written there.
Desktop itself runs well on root. If you already logged in desktop as root, don't copy the files started with .xauth
from user home folder.
If you are new to Linux, it's not recommends to do that. You do that only if you have enough reason.
However, if you insist, copy all files and dirs (including hidden files started with ".") from /home/USERNAME/
to /root/
and chown root:root -R
them. That won't insure it can seamlessly work. After that you still have to encounter problems, cause in some files user name and home folder path is written there.
Desktop itself runs well on root. If you already logged in desktop as root, don't copy the files started with .xauth
from user home folder.
answered Nov 27 at 4:10
Bob Johnson
212
212
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
add a comment |
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
Thank you Bob. I will try the nautilus search bar or SearchMonkey to search for the user name occurrences with and without regular expressions.
– Amr Berag
Nov 27 at 4:37
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I have more than enough reasons and will test your suggestions in a virtual machine. I'm even trying to automate this using a bash script. +1 for that.
– Amr Berag
Nov 27 at 7:56
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
I copied almost everything one by one manualy, fixed the sound problems by copying files from the autostart folder and changed the environmental variables path. some applications like android studio were smart enough to find the copied sdk. I will keep the normal user for a while in case more files need to be copied to the root home.
– Amr Berag
Nov 29 at 4:13
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1096364%2fhow-to-transfer-all-user-settings-and-preferences-to-root-and-delete-all-users-e%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
1
Gnome is not designed to run as root. You are asking for support to do an unsupported and untested action, so you probably won't get many quality answers. If you run into problems, you will be on your own.
– user535733
Nov 27 at 3:29
Its already running smoothly as root which means it is designed to run as root. The question is how to transfer every thing to the root account and then delete the other guys to save space and file tree complexity. If I run into problems, I will try to fix them, ask, reinstall, install different distro or even switch to windows to get my work done fast. Thank you
– Amr Berag
Nov 27 at 3:43
@user535733 it seems that the new gnome is not designed to run as normal user as well. Too many bugs and unclean gui elements such as panels and desktop icons overlapping and delays.
– Amr Berag
Nov 29 at 4:04
@user535733 Do you mean it is desigen not to run well as root? Its better to show warning messages and let the user decide. Unless they are planning selling it to apple.
– Amr Berag
Nov 29 at 4:18