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?

Answers were Sorted based on User's Feedback



how many types of user accounts are available in linux os? if i assign a uid below 500 to a norma..

Answer / prajakta aher

There are 3 types of user accounts in linux.They are:
1> System Users
2> Root User(Administrator)
3> Other Users(Normal User)

In linux, Uid from 1 to 500 has been reserved for system
users,these are the default users of linux,so if anyone try
to assign Uid 500 to normal user then it wil give the error.

Is This Answer Correct ?    70 Yes 12 No

how many types of user accounts are available in linux os? if i assign a uid below 500 to a norma..

Answer / 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

how many types of user accounts are available in linux os? if i assign a uid below 500 to a norma..

Answer / tanuja

1. Super user or admin
2. System user or group user
3. Normal user
4. Network user
5 psuedo user

Is This Answer Correct ?    7 Yes 2 No

how many types of user accounts are available in linux os? if i assign a uid below 500 to a norma..

Answer / susheel narayan singh

There are three type of user accounts-
1- Super user (root) uid and gid =0
2- System user (ftpd,sshd) uid and gid (1-499)
3- Regular user (what u create with useradd cmd) uid and
gid (500<)

Note: If you assign uid below to 500 like between 1 to 100
it means that user umask will be 022 like root.
And you know that normally user whose uid and gid is above
their umask is 002.

Is This Answer Correct ?    12 Yes 10 No

how many types of user accounts are available in linux os? if i assign a uid below 500 to a norma..

Answer / ajay

root 0
system user 1 to 499
normal user 500 to 60,000

so if you try to give uid <500 for normal user then it will give an error.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More Linux General Interview Questions

What is semaphore and types?

0 Answers  


What is linux and how do you use it?

0 Answers  


You need to search for the string “tecmint” in all the “.txt” files in the current directory. How will you do it?

0 Answers  


How to enhance the security of password file in linux?

0 Answers  


What does fsck do in linux?

0 Answers  






In my server squid is configured,and in my client machine i am using proxy (connection settings... proxy server ip) i configured..in server orkut.com is blocked, is it possible to use orkut even when i am using proxy at client side.....

3 Answers  


How do I search for a grep file in linux?

0 Answers  


How to disable ping to avoid network/icmp flood?

0 Answers  


What daemon is responsible for tracking events on your system?

0 Answers  


Which linux is most like windows?

0 Answers  


What is echo $path in linux?

0 Answers  


How can you login to another system in your network from your system?

0 Answers  


Categories