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 |
How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?
What are the differences between FTP , NFS , SAMBA servers explain separately.
Who owns the data dictionary?
How to recover a deleted file in linux ?
what is meant by mysql clustering
Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.
will u plz send me the complete steps of installation of red hat linux on intel's core 2 duo processor?
What is the minimum number of partitions you need to install Linux?
what is difference between TFTP abd FTP?
How find out drivers of installed devices in linux (RHEL)?
What utility can you use to automate rotation of logs?
How to build new filesystem ? and what is irig file system?