LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-01-2010, 09:39 PM   #1
aparna.v
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
how to be a root user in ubuntu?


hi,
Im doing a security based project in linux platform(ubuntu). When i try to modify some properties in ubuntu it is showing as "permission denied". I have only one password which i created when installing ubuntu.But using tat password i cant login as root. How to make login as a root user?
 
Old 04-01-2010, 09:41 PM   #2
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Code:
sudo -s
[sudo] password for <username>:
root@<hostname>:~$ passwd
Enter the password you want, confirm it, then you should be set to go!
 
Old 04-01-2010, 09:43 PM   #3
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,193

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Use 'sudo' to gain root privileges in Ubuntu, as illustrated here:

http://xkcd.com/149/

Enabling the root account is not necessary. More details here: https://wiki.ubuntu.com/RootSudo
 
Old 04-02-2010, 12:22 AM   #4
aparna.v
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanx it worked!!!

Quote:
Originally Posted by MrCode View Post
Code:
sudo -s
[sudo] password for <username>:
root@<hostname>:~$ passwd
Enter the password you want, confirm it, then you should be set to go!
it is working..Thanx a lot!!!
 
Old 04-02-2010, 12:24 AM   #5
aparna.v
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by snowpine View Post
Use 'sudo' to gain root privileges in Ubuntu, as illustrated here:

http://xkcd.com/149/

Enabling the root account is not necessary. More details here: https://wiki.ubuntu.com/RootSudo
Thank u for the informaton
 
Old 04-02-2010, 07:51 AM   #6
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by snowpine View Post
Use 'sudo' to gain root privileges in Ubuntu, as illustrated here:

http://xkcd.com/149/

Enabling the root account is not necessary. More details here: https://wiki.ubuntu.com/RootSudo
XKCD can be used as documentation? Wow.
 
Old 04-02-2010, 09:25 AM   #7
memysabu
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Rep: Reputation: 0
SSH -X root@127.0.0.1

=d
 
Old 04-02-2010, 09:27 AM   #8
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by memysabu View Post
SSH -X root@127.0.0.1

=d
root@127.0.0.01's password:
 
  


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
did not find any option for root password for root user in ubuntu 9.10 linux.ab Linux - Newbie 1 03-02-2010 02:58 AM
LXer: Addendum Ubuntu 8.04 - Pseudo Root User LXer Syndicated Linux News 0 10-20-2008 05:50 PM
how to login graphically as root user in ubuntu baran_6566 Ubuntu 1 10-20-2007 05:45 AM
qparted asking for root user in ubuntu kateshine Ubuntu 1 09-03-2006 10:12 PM
Make a root user for Ubuntu dbcoder Linux - Software 17 02-14-2005 01:10 PM

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

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