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 / amit kumar ghosh
"The UID & GID of root user are 0".
No, a normal cannot change the ownership even if it is the
owner of that file.
That cmd to change ownership.
#chown owner:groupowner filename.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is $@ in bash?
What is ls command and what it does?
What is whois command?
What are the basic commands for user management?
What is the root directory linux?
What is DISM command?
How do you do nslookup?
Which of the following tasks cannot be accomplished with the touch command?
What is the difference between find and locate command in linux?
How do I run multiple commands in linux?
What make install does?
What does chmod 755 do?
You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?
How do I move to root in linux?
What command is used to check the number of files, disk space, and each user’s defined quota?