Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
What do you mean, you need something like administror account? you can do so by creating administrator with uid=0, man adduser, but the best way to do it is to setup sudo, for more details search here for sudo, sudoers.
sorry, i'll try to elaborate. i have an account that i woild like to duplicate minus the privilages. like if, in another account, i started the x enviroment, the wallpaper, folder settings desktop etc. would all be the same as the original account. the same with other programs as well, like nautilus or eterm, etc.
***NOT FOR ANYONE WHO DOESN'T WANT THEIR SYSTEM COMPROMISED, etc ***
Ok now that I have placed the disclaimer (which really should be noted), onto one way...
Create a normal user, however your heart desires, useradd, whatever.
After, open /etc/passwd (as root) and change the UID to 0 of the newly created user. I believe UID is the first number, maybe something like 1001 (someone correct me if I'm wrong on this part). Now save the file, and smile. You now have root priviledges/access on a user account.
Really you shouldn't do this on a system that you have connected to anything, or have any chance of anyone using other than yourself. It's REALLY not a good idea to do this.
If you just want to have the same settings, you can just copy (as root) /root contents to new user's home directory and change owner to the new user. Of course, when you change anything they won't be the same anymore.
you can include another apps that should start upon entering X in the same file just before the exec /path/...
gkrellm &
other_goop&
exec /path/to/your/favorite/another/favorite/whatever/favorite/wm
#exec /path/to/your/favorite/another/favorite/whatever/favorite/wm
#exec /path/to/your/favorite/another/favorite/whatever/favorite/wm
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.