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 / v.balaviswanathan

The UID and GID of root user is O . Yes , if he is the
owner of a file or he has the permission to change .To
change the ownership of a file is
chown

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I set permission to run in linux?

566


How to recover /etc/passwd file and /etc/shadow file?

540


Which command is used to compare the files?

485


How do I navigate in cmd?

533


How do I check my cpu speed?

513






How do I run bash on windows?

495


What Command used to lock user password?

582


How can I check the exit status of my previous command in Linux operating system?

538


What file type is a makefile?

515


What is the use of ls command?

483


What is a make target?

582


What are the basic commands for user management?

537


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

490


What is the use of cp p command?

559


What is iptables command in linux?

558