LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-19-2016, 01:41 AM   #1
ganesh99999
LQ Newbie
 
Registered: Oct 2015
Posts: 5

Rep: Reputation: Disabled
Unhappy i'm learing rhel server 6.1 a file have permissions are 000 but root can read,write do anything with taht how'z that possible without ?


permnissios are like this shadow file in rhel 6.1 sever


# ls -ld /etc/shadow
----------. 1 root root 1474 Dec 13 16:27 /etc/shadow

 
Old 01-19-2016, 03:08 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
"root" is a elevated privileged account that can do anything to any file at any time.
 
Old 01-19-2016, 09:03 AM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by TenTenths View Post
"root" is a elevated privileged account that can do anything to any file at any time.
... except execute it. In order to be recognized as executable, a file needs to have at least one of the "execute" permission bits set. That's because most files simply don't contain anything that is executable, and accidentally trying to execute one of them could have bizarre or unfortunate results.
 
Old 01-19-2016, 12:56 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
ganesh99999 you are aware that redhat dose NOT support 6.1 any longer .It is MISSING a few YEARS!!!! of security updates .

upgrade to the current older 6 ASAP
RHEL 6.7

normally one dose NOT login as root , but as a normal NON root user

for making system changes become root from your normal user account using " su - "

this is one of the reasons that linux servers tend to be more secure than Microsoft ones
 
  


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
i'm learing rhel server 6.1 a file have permissions are 000 but root can read,write do anything with taht how'z that possible without ? ganesh99999 Linux - Newbie 2 01-19-2016 09:46 AM
Mounting cifs with read/write permissions for a non-root user icmp_request Linux - Networking 5 01-28-2014 12:33 PM
create ftp server and assign read and write permissions aksharb Linux - Server 1 08-01-2013 04:12 PM
[SOLVED] how can i remount root filesystem as read/write after modify readonly-root file jcwkyl Linux - Newbie 3 12-21-2010 10:40 PM
Mounting cifs with read/write permissions for a non-root user icmp_request Linux - Newbie 5 07-09-2009 08:16 PM

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

All times are GMT -5. The time now is 03:21 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
Open Source Consulting | Domain Registration