LinuxQuestions.org
Visit Jeremy's Blog.
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-12-2009, 07:42 PM   #1
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Rep: Reputation: 15
Thumbs down create su !


hi for all, what i want is to create super user on my fedora coz i dont have one ! , so how to create one ?
 
Old 01-12-2009, 07:59 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
'su' is a command, it is short for switch user. When you enter su at a bash prompt, the assumption is to switch to root user. You can use the command to switch to any user in your system, if you have the correct password.

What is the problem? You can not become root user? Root is the super user.

What does the system respond if you type su ( and press the enter key )?

Could you tell us the distro you are using? or is this a live CD?
 
Old 01-12-2009, 08:11 PM   #3
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
oh i though the su just meant to root user , k am using fedora 8 , my prob is that i dont have super user on my pc ! ,i just have a normal user not root one, so i need to create supre user (su) .

Last edited by 7mza; 01-12-2009 at 08:16 PM.
 
Old 01-12-2009, 08:28 PM   #4
mohaas05
Member
 
Registered: Oct 2008
Posts: 41

Rep: Reputation: 16
Did you delete the root user?
 
Old 01-12-2009, 08:34 PM   #5
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
mohaas05 : no i just install fedora on my pc and its just ask me for enter a new user and pass , when i login on the new user i tried the su command and its ask me for pass , so how to create new pass for root ? coz i dont set it before ?
 
Old 01-12-2009, 08:44 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
When you install F8, it definitely asks you to provide a root passwd!
You can also add a new non-root user.

If you use

su -

it'll ask for the root passwd.
If your non-root user is enabled fully in the sudoers file, you can use

sudo su -

and supply your non-root user passwd.

PS I'm on Fedora 8 atm.
 
Old 01-12-2009, 08:47 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by 7mza View Post
mohaas05 : no i just install fedora on my pc and its just ask me for enter a new user and pass , when i login on the new user i tried the su command and its ask me for pass , so how to create new pass for root ? coz i dont set it before ?
Chances are, when you installed Fedora you didn't understand what you were doing and have set your root password to the same as your regular user. So, give that a try and see if it works.
 
Old 01-12-2009, 09:50 PM   #8
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
yeah tnx , i tried to enter the same pass as Quakeboy02 said and its work gd now , but i dont remembr when i was install fedora its ask me to enter the root pass ,,

but fedora still not work gd on my pc coz its not acquainted the wireless and ethernet card , i will search for this on google . tnx for ur replyz
 
Old 01-13-2009, 12:07 AM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Support for F8 was dropped on the 7th. I would consider moving on to a supported version. F10 would be the best Fedora I can suggest at the moment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Squirrelmail: Query: CREATE "INBOX.Sent" Reason Given: Cannot create this folder. Chiragrs Linux - Server 2 03-10-2008 12:37 PM
How to create bridge and how to create hub? Grawp Linux - Networking 5 04-22-2007 06:10 AM
Samba: "homes" share, cannot create directories, can create files Herg Linux - Software 1 09-14-2006 09:48 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM
Linux, Create Dirs=no, Create files=yes. Possible? tisource Linux - General 4 01-12-2004 11:05 PM


All times are GMT -5. The time now is 10:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration