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.
I've found that many times you get a prompt for the "ROOT password" and what they actually want is the password you would type with sudo.
Code:
user@host$ ... do some stuff ...
user@host$ sudo ... something ...
prompt for password: *********
... something runs as super user ...
...
...
user@host$ ... back to normal user ...
Try whatever you would type in place of ******** above instead of whatever your would type to login a root itself.
Worked for me,
~~~ 0;-Dan
ok, i am on a similar thing with the terminal, what do I do now?
You can't login to gnome as root, it has to be in the terminal. So log into gnome as your regular user. In the terminal, to work as root, type "su", and it'll ask for the root password. It's just a different way of working to other distributions. More secure, but a little hard to grasp
If you want to use the sudo command, add your user to the sudoers folder (/etc/sudoers from memory)
ok, i went to su & this came up: [root@localhost user]#
, what now?
Cory;
1. Please tell us where you are on the original question----as part of this, tell us if any of the advice was useful.
2. I can see how the new question is potentially related, but: When it says "access denied", what is it that you are trying to access? For example, are you trying to download something from a website?
As I said earlier, you really need to provide complete information for us to help you.
To get help here, you really need to respond to what people have told you or asked you
the part about getting to the terminal and the part said about the user to root@localhost user was very helpful. now i want to know, what can I do at this screen? can I download things like Firefox updates or Adobe flash, or can I at least be able to use executable files from here?
the part about getting to the terminal and the part said about the user to root@localhost user was very helpful. now i want to know, what can I do at this screen? can I download things like Firefox updates or Adobe flash, or can I at least be able to use executable files from here?
Cory; PLEASE: tell us if you have solved all the previous issues.
From you latest post, I am GUESSING that you now wnow how to open the terminal, switch to root, and that your password is working.
From the terminal, you can:
Run any shell command (The most common shell is BASH)
Run a wide variety of command-driven utilities---on of which is the package manager for the distribution. Since Linpus is based on Fedora, I'm assuming that you have YUM installed. You can verify this by entering "man yum", or just "yum". The details of how to run it are in the man page (man yum).
The manual pages (man) are designed to help you remember specific command options, but are not always the best way to learn. There are all kinds of web resources with tutorials, etc.
Back to the package manager: This is always the best way to install software. If you don't want to use the terminal, there is also a GUI (graphical user interface). This will be in your menus under "install software"---or something similar.
Since this thread was about passwords, I encourage you to start a new thread for specific questions that are unrelated. (But first search here for similar thread---and search on Google)
the part about getting to the terminal and the part said about the user to root@localhost user was very helpful. now i want to know, what can I do at this screen?
You need to be administrator to install software, or do anything that modifies files outside your home directory for that matter.
Quote:
Originally Posted by Cory McGraw
can I at least be able to use executable files from here?
If you mean like executing a web browser or word procesor, that should NOT be done as administrator. Execute them as yourself, this is the state the terminal is in before you type the su command. Usually the last character of the command prompt is a dollar sign "$" if you are a user, and a pound sign "#" if you are administrator.
You can enter in the command line also by pressing Ctrl+Alt+F1 or F2, etc, up to F6. You get back to the graphic environment with Ctrl-Alt-F7.
This is not correct when the init deamon is "upstart" as in Ubuntu and Fedora (starting with 9 or 10). The default mode for systems using the "upstart" rather than "sys v" intit daemon is the the first X session (GUI) is on vt-1 (Ctrl-Alt-F1) and the text counsoles are on vt-2 through vt-6 (Ctrl-Alt-F2, ...) and the second X session (if you start a second one) is on vt-7 (Ctrl-Alt-F7). Yes, these systems do not follow tradition (and "upstart" was to be faster which it is not). So remember, it you do not see what is expected on a vt (Virtual Terminal), keep looking thought the 12 that can exist.
You can't login to gnome as root, it has to be in the terminal. So log into gnome as your regular user. In the terminal, to work as root, type "su", and it'll ask for the root password. It's just a different way of working to other distributions. More secure, but a little hard to grasp
If you want to use the sudo command, add your user to the sudoers folder (/etc/sudoers from memory)
Ok, I can get there, how am I able to--- When I want to download the newest firefox, it tells me to put in administrater password, and when I do, it tells me that it is unable to authenticate.
It depends on how you're obtaining administrative privileges. If you're using su, it expects the password for the ROOT account. If you're using sudo, it expects the password for YOUR PERSONAL account (and sudo access has to be set up for you before you can use it -- some distros do this for you automatically).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.