LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-16-2007, 10: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, 10:27 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

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, 11:00 AM   #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



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 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 03:16 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-04-2004 11:05 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM

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

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