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 |
am installed windows and later i installed ubuntu i want to unistall ubuntu can any one tel the procedure to uninstall ubuntu in my windows 7 please mail to me ---kiranpulsar2007@gmail.com and later i want to install ubuntu after uninstalling ubuntu tel the procedure for that also i dont know to patrition the hard disk drive please tel to them please reply
What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?
My root password has been changed, how can i enter into the system without root password?
what are the different types of Backups..?
How to Trouble shoot performance issue in RHEL administration ? please give to one example
will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?
what is the difference betweenh the NFS and FTP?
what is NIS Server...?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
How find out drivers of installed devices in linux (RHEL)?
What are RPM?s, what do they offer?
What are main anti-spam features available in sendmail?