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 command is used to check the number of files, disk space, and each user’s defined quota?

509


How do you create a text file in linux?

523


What is build process?

555


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

500


What does history command do in linux?

521






Which command is used to delete a group?

552


How do makefiles work?

527


What is the command can be used to check for file corruption?

544


How do I find the console in linux?

540


How remove all files in a directory linux?

520


What does chmod 644 do?

576


What is the copy command in linux?

465


What is ps command in linux?

536


Explain shift command of linux?

567


How can I delete a file in linux?

533