script to change user's group?

From: Chris Cook (ccook_at_tcworks.net)
Date: 11/20/03

  • Next message: Sascha Klauder: "Re: script to change user's group?"
    Date: Thu, 20 Nov 2003 06:39:11 -0600
    To: freebsd-isp@freebsd.org
    
    

    Is there a command line way to change the group that a user belongs to?
    We would like to automatically change a user's group when they become
    past due on their account. The only way I know how to do this is
    chpass. If I knew of a command line way I could write a script.

    Thanks,

    -- 
    Chris
    o----< ccook@tcworks.net >------------------------------------o
    |Chris Cook - Admin     |TCWORKS.NET - http://www.tcworks.net |
    |The Computer Works ISP |FreeBSD - http://www.freebsd.org     |
    o-------------------------------------------------------------o
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Sascha Klauder: "Re: script to change user's group?"

    Relevant Pages

    • Re: script to change users group?
      ... > Is there a command line way to change the group that a user belongs to? ... > We would like to automatically change a user's group when they become ... If I knew of a command line way I could write a script. ... To unsubscribe, ...
      (freebsd-isp)
    • Re: script to change users group?
      ... Sascha Klauder wrote: ... >> Is there a command line way to change the group that a user belongs to? ... >> We would like to automatically change a user's group when they become ... If I knew of a command line way I could write a script. ...
      (freebsd-isp)
    • Re: Determining real user access permissions to files/directories (ls -l doesnt help)
      ... Examples of that query would be: ... users have access to the file/folder. ... You should first determine the groups a user belongs to, ... build a query for the "find" command that would give you the list of files ...
      (comp.unix.shell)
    • RE: Which Groups and what are effective permissions based on multiple groups?
      ... You can use xp_logininfo to get the group name which the user belongs to. ... if you have a Windows user John who belongs to the Windows ... For example, run the following command: ...
      (microsoft.public.sqlserver.server)
    • RE: How to determine if an user belongs to a specific group?
      ... If you're talking about groups as in ActiveDirectory, I think the command is ... HTH ... Dan ... > How could i determine if an user belongs to a specific group, ...
      (microsoft.public.dotnet.framework.aspnet)