LinuxQuestions.org
Register a domain and help support LQ
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 10-19-2013, 03:34 PM   #16
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,983

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

Quote:
I taped a piece of paper to the bezel of my PC monitor that reads "root = gksudo nautilus." Typing that at the command line (or "bash" or whatever it is called in Linux) I can now quickly change the permissions of files and folders. So, I don't need a separate log-in account for root
That is logging in as root. Ubuntu and its derivatives like Zorin use sudo whereas others do not so that typing 'gksudo nautilus' you are prompted for your user password and then have root privileges. A simple way to resolve issues when you are not able to access files as a user is to use the ls -l command to see who the owner:group are and what permissions they have.

It would be useful if you posted the name of the Linux distribution you are using as they do not use the same methods; some use sudo, other use su or su -.

Last edited by yancek; 10-19-2013 at 03:36 PM.
 
Old 10-20-2013, 06:33 AM   #17
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,307

Rep: Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721
Quote:
Originally Posted by ironhand41 View Post
I'm about a year into a dual-boot system (Win7 & Zorin 6.0) with the intention of leaving Winders behind forever now that I'm retired. I'm still getting my feet wet with Linux but in my experience you WILL need to do a few things as root. After wasting too much of my time when Linux would prevent me from opening particular files and folders (NOT system files, just files and folders I use in the normal course of a computing session) I taped a piece of paper to the bezel of my PC monitor that reads "root = gksudo nautilus." Typing that at the command line (or "bash" or whatever it is called in Linux) I can now quickly change the permissions of files and folders. So, I don't need a separate log-in account for root.
If you are having to operate as root to gain access to normal, day to day files then you are doing something wrong. I suggest you look into the permission that have been set and work out why you have normal user files with the wrong permissions. Otherwise you'll be constantly using your work around instead of just getting on with your work as you should be.
 
1 members found this post helpful.
Old 10-20-2013, 05:51 PM   #18
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,677

Rep: Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260
" how to solve problems created by a superuser" Thanks, that made me laugh.

Well, a real superuser should know how to fix it. Giving someone access to commands that they can't remember or figure out how to fix is the real issue. I can say that everyone on this forum that is somewhat capable has made mistakes. Many like myself learn from them and try to not replicate it ever again. So, I never let people use root. I try to never be on it too much. I try to be very very careful when I do type as root and RTFQ.


You generally reverse the command if possible. Without knowing the command(s) they used could lead you to using your backup plan.
 
  


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
LXer: Login as root on the Ubuntu System LXer Syndicated Linux News 0 05-13-2011 09:00 PM
root login through system call(s) hifun Linux - Kernel 3 06-19-2009 08:49 PM
Cannot login to CentOS system even as root...disk failure? sneakyimp Linux - Newbie 10 04-12-2008 12:34 AM
safe guarding your system by not allowing anyone to login as root abhis_mail2002 Fedora 6 05-14-2006 03:58 AM
Unable to login as root - system freezes rcs1000 Linux - Security 4 07-26-2005 06:17 PM


All times are GMT -5. The time now is 09:05 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