groups in linux | create , modify and delete groups | types of groups | remove & add user to a group

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 17

  • @stevesan1539
    @stevesan1539 Год назад +1

    Thank u for this excellent video bro. That was so easy to understand everything about groups. Only one thing I want to add and that is while giving examples try to give different names for groups and users instead of user1,2,3 and group 1,2,3 which is a little confusing .But overall the way you teach is very informative and exhaustive. Thank u once again.

    • @PedagogyV
      @PedagogyV  Год назад

      Thanks for feedback , will surely avoid the same type name in future videos. Thanks :)

  • @glorysonhorace3265
    @glorysonhorace3265 2 года назад +1

    Really educative. Thanks

  • @perfecteer
    @perfecteer 3 года назад +1

    Thanks for video. How do you delete both group and primary user from Ubuntu without having to move primary user to another group?

    • @PedagogyV
      @PedagogyV  3 года назад

      I think , both the operations (deleting group and deleting primary user ) are different tasks. So , I am not sure that whether a single command can do it or not.

    • @perfecteer
      @perfecteer 3 года назад

      @@PedagogyV okay, you cannot delete a group that have a primary user right? If you don’t have need for a group and the primary user in the group, how do you delete them?

    • @PedagogyV
      @PedagogyV  3 года назад

      @@perfecteer you will have to first delete primary user's account and then delete group.
      Anyway , for making any changes you can edit your /etc/group file. In there, you will see list of groups and its users.
      You can delete entire entry of group , or remove any particular user from a group.
      You may try that.

    • @perfecteer
      @perfecteer 3 года назад +1

      @@PedagogyV Thanks

  • @gowripatnamdurgasuresh9358
    @gowripatnamdurgasuresh9358 2 года назад

    how to create multiple secondary groups at a time without script can u tell me the command

  • @sujeetkumarsingh5064
    @sujeetkumarsingh5064 3 года назад +1

    Hi, how will you delete a user from a group in hp-ux. i want to remove a user from a group called grp5
    as of now:
    groups virat
    grp1 grp2 grp3 grp4 grp5
    expected result:
    groups virat
    grp1 grp2 grp3 grp4
    sudo gpasswd grp5 -d virat
    sudo: gpasswd: command not found

    • @PedagogyV
      @PedagogyV  3 года назад

      you will probably need to install gpasswd coomand . or to delete you can delete entry from /etc/group file . simply open the file , go to grp5 entry and remove that user. you can also use deluser command as
      deluser user grp5

  • @rohanrajaggarwal5545
    @rohanrajaggarwal5545 3 месяца назад +2

    you need to work on communication skill, informative video no doubt but the way u talk gave me a headache.

    • @PedagogyV
      @PedagogyV  3 месяца назад

      😂😂

    • @marlanivanovich1828
      @marlanivanovich1828 3 месяца назад

      @@PedagogyV Unfortunately, I agree with him. And I don't want to be rude at all - great work! But may I suggest a bit of constructive critique? Less of "okay": hearing it every 4-8 seconds is really annoying and distracting and doesn't help in digesting the info. Thanks for the video!

    • @PedagogyV
      @PedagogyV  3 месяца назад +1

      @@marlanivanovich1828 Thanks for the feedback , all feedbacks are taken positively. In later videos , you will not see this in common . As we move forward , the quality and speech keeps on improving . still learning 😃