LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-01-2008, 10:38 AM   #1
ChootarLaal
Member
 
Registered: Feb 2008
Posts: 41

Rep: Reputation: 15
No password set for "root" during installation [solved]


while installing ubuntu 7.1, i never got prompted to set a password for the root.
so now if i have to issue a
Code:
su
command, i dont know what the password is. any way around this?


edit:nevermind, i reset it through "users & groups".

Last edited by ChootarLaal; 03-01-2008 at 12:31 PM.
 
Old 03-01-2008, 10:43 AM   #2
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Mageia, MX, Manjaro, OpenSuSE, PCLinuxOS
Posts: 214

Rep: Reputation: 35
Hello ChootarLaal

One of the features of Ubuntu is that you don't have a root user.

You would use the command:

Code:
sudo
wherever you would have previously used su and give it your ordinary users password when requested.

That acquires you root privileges on a job by job basis.
 
Old 03-01-2008, 11:05 AM   #3
ChootarLaal
Member
 
Registered: Feb 2008
Posts: 41

Original Poster
Rep: Reputation: 15
thanks thats good info. ill keep that in mind.
 
Old 03-01-2008, 12:18 PM   #4
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
Still, I personally believe that every user should know the password for root. So I do this: "sudo su -" and then "passwd".

Also, please mark the subject as [solved].

Last edited by anupamsr; 03-01-2008 at 12:19 PM.
 
Old 03-02-2008, 12:50 AM   #5
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
All you ever wanted to know about Ubuntu's use of sudo and root.

https://help.ubuntu.com/community/RootSudo
 
  


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
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
[SOLVED] Need to recover or change root password. And must run "nano". ShellyCat Linux - Newbie 10 07-14-2007 03:01 PM
smb set to "share", xp login asking for password creznedmick Linux - Networking 10 05-17-2007 04:18 AM
Root password no good for "software security device?" Rusted Linux - Security 3 04-26-2006 05:00 AM
where is the "enter root password or Contrl-D to continue" after FS repair at boot jg167 Red Hat 0 11-17-2004 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:37 PM.

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