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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / 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 |
Answer / 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 |
Answer / breest
the UID and GID of rootz user is 1337 and your mama. if this
doesnt work it is 11111elf ololololol !!!
edit: zomfg by the 2nd lost viking
| Is This Answer Correct ? | 6 Yes | 17 No |
How cp command works in linux?
What does c mean in linux?
What is sudo bash command?
What is echo command in batch file?
You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?
How can I check the exit status of my previous command in Linux operating system?
0 Answers SwanSoft Technologies,
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
What is Syntax of any Linux command?
How do you clear the screen in linux?
How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?
How will retrieves incoming mails from different web sites
Send me some of the commands being used in linux
5 Answers Aurobindo, Dr Reddys, IBM, Reddy Labs,