Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hi all
When we install Linux, it will ask for root password.where will the password get stored and can we change the username root to anyother name(just changing the name alone)
Thanks for the replies.
When user clicks on "OK" button after giving correct password, which script will run infront?. I am trying to add a new button to that login window for my code development. is it possible.where should i change.......
After giving root password (which was set during installation) in the login window, when user presses "OK" button to continue loading desktop, which script will run.
Where will the error message "invalid root name or password" is stored?
To that same window, i am trying to add a new button.
When you say "login window" you are dealing with a desktop environment (KDE, Gnome, etc.) or with a display manager (gdm, kdm, etc.)
Start with the scripts linked in /etc/rc5.d. On my system, there is "dm", which calls /etc/X11/prefdm. Let's assume that your system uses kdm. You'll need to get the source code for this, install your changes, and then re-compile. Google should be able to find the source.
After giving root password (which was set during installation) in the login window, when user presses "OK" button to continue loading desktop, which script will run.
Where will the error message "invalid root name or password" is stored?
To that same window, i am trying to add a new button.
Root does not run X server, meaning there is no need to use graphical logins for root.
Root does not run X server, meaning there is no need to use graphical logins for root.
You can run a GUI desktop as root (although some distros disable this by default). I'm setting up an ArchLinux system as we speak. I start the Desktop (kdemod) --as root-- using "startx".
You can run a GUI desktop as root (although some distros disable this by default). I'm setting up an ArchLinux system as we speak. I start the Desktop (kdemod) --as root-- using "startx".
Stupid thing to do. Getting into bad habits. If there was a single reason to run X as root, but there isn't. People with strong Windows background just cannot think in POSIX terms.
Now we're talking about what I SHOULD do....different question entirely. (I was only observing that it is possible.)
The example I quoted is a perfect example of when it can make sense to run a GUI as root. I am trying several different distros on a new laptop. No data, no other users. running everything as root makes it easier to do quick experiments.
My regular systems are set up in a way of which I think you would approve.
Suggest the following modification of your last sentence:
Quote:
People with strong Windows background often cannot think.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.