LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-07-2007, 08:32 PM   #1
kensim00
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Rep: Reputation: 0
How to execute commands? How to view or check my root privileges?


Hi all,

Noob and Newbie here.

I have just installed the RHEL update 3. Now that i am trying to go into certain prvileged folders but unsuccessful because i do not have the root privileges. I couldn't really remember what kind of username and password i have keyed in(supposed to say that i remember that i have only inputted 1 username and 1 root password). I have gone to the 'Users and Groups' to check the active users, and there's only 1 user. Isn't that the privileged user?

Another further question, how do i execute command prompts? It's just like running the DOS prompts in Windows, but i would like to open such things in the RedHat?

Many thanks!
 
Old 01-07-2007, 08:37 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
how do i execute command prompts?
The linux equivalent of the DOS "command prompt" is called the "shell" or "terminal". Look for it in the menues.

To log in as superuser, type "root" for the username followed by the root password.
When you are looged in as a regular user (the normal way you log in) you can still use superuser stuff via the "su" (switch user) command or the "sudo" (switch user do) command entered in the terminal.

Try "man su" for details.

Last edited by Simon Bridge; 01-07-2007 at 08:39 PM.
 
Old 01-07-2007, 08:55 PM   #3
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
The linux equivalent of the DOS "command prompt" is called the "shell" or "terminal". Look for it in the menues.

To log in as superuser, type "root" for the username followed by the root password.
When you are looged in as a regular user (the normal way you log in) you can still use superuser stuff via the "su" (switch user) command or the "sudo" (switch user do) command entered in the terminal.

Try "man su" for details.
Of course one hopes you can remember the password you set for 'root' and if you do, that will be the same password you supply after you type SU at the terminal shell prompt.
 
Old 01-07-2007, 09:09 PM   #4
kensim00
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jonnycando
Of course one hopes you can remember the password you set for 'root' and if you do, that will be the same password you supply after you type SU at the terminal shell prompt.
Hi Thanks guys. I have tried it out and it works.

Anyway, it's too slow for me to ask you experts bit by bit everyday and it would be too noob for me to spam in so many threads.
Is there any good quick start intro sites for me on the web?

Many thanks again.
 
Old 01-07-2007, 11:19 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
http://www.tldp.org/LDP/intro-linux/html/index.html might be a good starting point.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkdir with root privileges slam Programming 3 09-29-2006 05:22 PM
USB HD Needs Root Privileges rrrssssss Linux - Hardware 3 11-13-2005 04:08 PM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
How to mount without root privileges? ni0wn Slackware 3 09-15-2004 05:03 PM
root privileges and permissions evil_lafta Slackware 7 08-20-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration