LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-19-2011, 08:56 AM   #1
ayush15690
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Rep: Reputation: Disabled
to gain write access in root folder


hi
i am using ubuntu 11.04 ,but when i try to save a file to root folder i don't have permission for that.
Basically when i try to access the root through terminal it asks for a password which i don't know ,so how can i know that password.
 
Old 08-19-2011, 08:57 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
The password is your users password.

Kind regards
 
Old 08-19-2011, 08:59 AM   #3
ayush15690
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by repo View Post
The password is your users password.

Kind regards
i already tried that but it didn't accept that.
i tried this command to access root $su -.
 
Old 08-19-2011, 09:06 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Try
Code:
sudo
More info:
https://help.ubuntu.com/community/RootSudo

Kind regards
 
Old 08-19-2011, 09:23 AM   #5
ayush15690
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
thanks
 
Old 08-19-2011, 09:35 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
No problem, please mark the thread solved using the thread tools.

Kind regards
 
Old 08-19-2011, 03:26 PM   #7
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,401

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
And if you want further advice on how to blow your system's head off, through the careless use of super-power, feel free to inquire further. (What's an ordinary user doing on the "sudoers" list, anyhow?)
 
Old 08-19-2011, 06:10 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by sundialsvcs View Post
What's an ordinary user doing on the "sudoers" list, anyhow?
So that the user can run commands as root, obviously. What do you think sudo is for?
 
Old 08-19-2011, 09:43 PM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
According to some of the posts I've read, Ubuntu creates a random secret passwd for root and automatically creates the first std user with full rights via sudo ... yeah it's dumb/non-std, but that's what they do (or did..).
 
Old 08-20-2011, 06:18 AM   #10
jakethedog
LQ Newbie
 
Registered: Aug 2011
Location: Safi Malta
Distribution: Centos, Ubuntu, OpenIndiana, Pardus, OpenBSD
Posts: 27

Rep: Reputation: Disabled
I Know this is solved but here is an easier way.
Open Terminal and type in
sudo nautilus (Location of your folder)

For Example: sudo nautilus /bin/
 
  


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
How to gain Write-Access to a File System as Root tobiasw Linux - General 3 02-02-2011 08:02 AM
write access to a Windows partition folder from Linux (as root) dows Linux - Newbie 5 02-02-2011 12:37 AM
How to Gain Access to a Root Filesystem? christophercheeseman Linux - Newbie 1 02-01-2011 02:55 PM
Can't gain new ROOT access dauphinfay Linux - General 3 07-28-2005 12:38 AM
How to gain **write-access** to windows xp files? sairam9 Linux - Newbie 3 07-14-2005 09:09 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration