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 |
what is NIS Server...?
Who owns the data dictionary?
What is the name and path of the main system log?
How does the boot process[init levels] work on Linux? How is it different from Solaris?
what is difference between TFTP abd FTP?
commands regarding the adding of users into groups n different options with useradd...?
I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????
1 which file contains information about os wether it's 32 bit or 64 bit os 2 difference between logical block and physical block?? 3 what is the size of logical block and physical block?? 4 daemon for nfs on client end as well as server end??? 5 how to confirm from client end about nfs server sharing?? 6 what contains information about file and directory creating time or modification time??
What are RPM?s, what do they offer?
What are main anti-spam features available in sendmail?
how can i make an user to nologin without locking the account for the user
My Linux server in the two lan card one lan card is ok working but second lan card after restart daily lan card deactivate and then manual activate then properly working but after restart repeat this problem.(Fedora O.S.) Pls tell me solved this problem.