commands regarding the adding of users into groups n
different options with useradd...?
Answers were Sorted based on User's Feedback
Answer / raj kumar yadav
vi /etc/group
and set the user name in the same group line where we want
to add user
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / susheel narayan singh
If user is susheel and groupe name is n
then
#useradd -G n susheel
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raj kishor
Two ways are there:
1.To add as primary group
user:tom group:harry
useradd -g harry tom(harry will be the primary group of tom)
2.To add secondary grup
useradd -G harry tom (now tom's seconday group is hary).
3.To add to the earlier secondary group of tom
useradd -aG harry tom (This appends harry to the secondary
group)
| Is This Answer Correct ? | 1 Yes | 1 No |
someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?
what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?
What file should you examine to determine the defined runlevels for your system?
What are main anti-spam features available in sendmail?
What text filter can you use to display a binary file in octal numbers?
There are 4 network Interfaces, how can we find which one is Primary.
How to check all open ports on linux machine and block unsed ports????????
What is page-in and page-out in redhat linux?
How can i recover the linux system after it was crashed by step by step process..
How find out drivers of installed devices in linux (RHEL)?
Why is it suggested to disable journalism in ext4 filesystem?
This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.