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 / debasis behera
The UID & GID of root is zero i.e 0, normal user can't
change the ownership of a file of others, he can change the
ownership of his own file. To change a ownership of a file
is -
chown username filename
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What will happen when a system call is encountered in a user program?
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
What is df -h command?
How do I check my cpu cores?
What is clang format?
How do I change directories in linux command line?
What is $@ in shell?
What is ll command in unix?
How do I run a script in linux?
Who unix commands?
What are the basic dos commands?
What is finger command in linux?
What is cpu core in linux?
why is the tar command used?
What is tty in linux process?