adspace
how many types of user accounts are available in linux os?
if i assign a uid below 500 to a normal user..wat wil be
happened?
Answer Posted / rallapalli
1.root user (admin --- 0)
2.System users ( 1 to 499 )
3.Normal users ( from 500 )
when u want to assign below 500 id first check in
/etc/passwd file which id is free ( not assigned to any
user) u can use that id and u can assign. Assume 356 id is free
EX: #useradd -u 356 tom
system will give u error but the user has created
successfully. Now check the /etc/passwd file u will get tom
user entry with uid 356 ok?
Thanks
| Is This Answer Correct ? | 32 Yes | 12 No |
Post New Answer View All Answers