Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

ownership of root

  Date: Nov 24    Category: Unix / Linux / Ubuntu    Views: 360

I found a system where a root cannt change or modify any file or
administration tasks( no permission of root) even though root has
root permission in /etc/passwd file
ie "root:x:0:0:root:/root:/bin/bash".

Whts the trick behind this? can anybody tell me how to do this.



1 Answer Found

Answer #1    Answered On: Nov 24    

Using CHOWN... you can transfer the ownership of practially all files to
another user. Then make a group for that user at 0, and move root
somewhere else. Dont try it on a production system, as it's bound to
make a few problems.

Didn't find what you were looking for? Find more on ownership of root Or get search suggestion and latest updates.