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



what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

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

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

Answer / shridhar

yes ,the above answer is absolutely right.

Is This Answer Correct ?    40 Yes 2 No

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

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

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

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

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

Answer / guest

The UID and GID of root user is O .

Is This Answer Correct ?    12 Yes 2 No

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

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

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

Answer / guest

UID- User id

Is This Answer Correct ?    4 Yes 1 No

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

Answer / chowdary

the root user uid & gid is zero

Is This Answer Correct ?    3 Yes 0 No

what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is..

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

Post New Answer

More Linux Commands Interview Questions

if i run ls command it will show me the junk output what is problem and how to resolve it

2 Answers   BPO,


How use linux command line?

0 Answers  


What is the fastest way to enter a series of commands from the command-line?

0 Answers  


What is lsof command in linux?

0 Answers  


What is cd command used for?

0 Answers  






What is p command?

0 Answers  


How do I get to root in linux?

0 Answers  


How can you find configuration on linux?

5 Answers  


Explain about lprm job number?

0 Answers  


What is difference between free and available memory in linux?

0 Answers  


How do I stop a linux job?

0 Answers  


Did you ever write any inerface files / profile file to support unix environment setup ?

1 Answers   HP,


Categories