what is the UID and GID of root user? Can a normal user can
change the ownership of a file? what is the command to
change ownership of a file?

Answer Posted / kk.utnoor

the root UID/GID is 0 (zero). which is why he can able to
intervene in all normal users files even though he don't
had permission. A normal user will don't have the permission
to change ownership of file. The command to change ownership
is < chown user.user file >

Is This Answer Correct ?    77 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bash linux?

522


Which command is used to find what is in your home directory?

563


How do I know my linux shell version?

513


What could possibly be the problem when a command that was issued gave a different result from the last time it was used?

538


How do I permanently set ulimit in linux?

522






What is 9 in kill?

525


How do I get to root directory in linux?

573


Explain about system and user utilities?

564


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

560


How do I check cores in linux?

537


What is the command to delete a file linux?

528


How do I clear my run history?

561


What are different command to check ram, process and hdd of linux machine?

534


Why do we use cmake?

534


How do I get to root in linux?

551