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

Main configuration file and command used for NFS enabling exported directories and deamons?

704


How can we increase disk read performance in single command in Linux?

748


What does uname do in linux?

753


How do you limit memory usage for commands?

760


What is tty name?

719






You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

807


How can we increase disk read performance in single command in Linux operating system?

884


What is sudo bash command?

698


What is the bash in linux?

701


What are whois tools?

677


Enlist some linux to file content commands?

735


What command should you use to check the number of files and disk space used and each user’s defined quotas?

796


How do I set permission to run in linux?

776


What does cd – command do?

777


What is make in linux?

722