Menu

#50 Unix Groups to Webmin User mapping

open
None
5
2014-12-17
2005-06-15
Jon Allie
No

This patch enables a new checkbox in the unix
authentication screen in webmin users:

"Map unix groups to webmin users of the same name"
(text pulled from $text{'unix_groups'})

When enabled, this adds the unixgroups=1 option to
miniserv.conf.

With this patch, if unixauth is enabled, webmin will
get a list of a users secondary groups and try to match
the group names against the list of existing webmin
users. If it finds a match, it will set '$baseauthuser'
to the webmin user that matches the group name.

This patch won't handle multiple matching groups; the
first matching group is used.

files changed:

miniserv.pl
acl/edit_unix.cgi
acl/save_unix.cgi
acl/lang/en

Discussion

  • Jon Allie

    Jon Allie - 2005-06-15

    patch to add unix group support - unified diff

     
  • Jamie Cameron

    Jamie Cameron - 2006-01-04

    Logged In: YES
    user_id=129364

    Thanks for the patch .. but could you update this to work
    against Webmin 1.250 or later? It doesn't apply against the
    latest source code.

     
  • Jamie Cameron

    Jamie Cameron - 2006-01-04
    • assigned_to: nobody --> jcameron
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.