LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-16-2007, 11:16 AM   #1
ripper
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Rep: Reputation: 0
one question


is there a command that u can put on files and nobody can erase it
unless they know the command
i`m loggged as root@
and i wanna put on some files to can`t be erased even as root@ if they don`t know the command
a command like chattr
but that command is very familliar
i need something similar but very unfamiliar and very rare known by linux users

please help me
 
Old 06-16-2007, 11:27 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by ripper
is there a command that u can put on files and nobody can erase it
unless they know the command
i`m loggged as root@
and i wanna put on some files to can`t be erased even as root@ if they don`t know the command
a command like chattr
but that command is very familliar
i need something similar but very unfamiliar and very rare known by linux users

please help me
Sure, it's really simple. Stop this nonsense everybody logging in as root at once. Use the UNIX security provided by permissions, do not try to invent your own. Every user can have rights they need to do their thing - but nothing more!
 
Old 06-16-2007, 12:00 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
Without a modified kernel, its impossible to stop the root user, and as Emerson said, theres no real reason to do it, unless of course you broke into someone else's computer and are trying to blackmail them or install a backdoor. Either way, theres no point in doing what you say, installing a backdoor would be futile, and using it as a security model is broken.
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 04:16 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-05-2004 12:05 AM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM


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