Results 1 to 3 of 3

Thread: User group assignment - how to make it effective

  1. #1
    vachi NNTP User

    Question User group assignment - how to make it effective

    Hello

    I have a problem with group assignment (openSUSE 11). After I add a new group and a user to that group in Yast, I have to restart to make the assignment effective (as confirmed by executing "groups" command in shell). Is there any way to make it effective without rebooting?

    What I have done:
    • Inside KDE4, run Yast > Security And Users > User and Group management
    • I add new local group and my current user ID to that group
    • Open a new Konsole and type "groups", the new group was not shown there
    • Log out of KDE, then log in again. Open a new Konsole and type "groups", the new group still not shown


    Thanks for any advice/pointer

  2. #2
    vachi NNTP User

    Smile Re: User group assignment - how to make it effective

    Hmm.. I just did it again just to make sure (add new group and assign user), but now it became effective after I log-out and log-in to KDE again...

    Don't know what's wrong with my previous attempt. Anyway, close this issue.

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: User group assignment - how to make it effective

    You only need to logout and login again, not reboot, as you have discovered. The reason is that the group list is read in once by the login session shell.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •