From: Jamie C. <jca...@we...> - 2003-02-23 01:40:38
|
Stephen Ollinger wrote: > On Sun, 2003-02-23 at 06:46, Stephen Ollinger wrote: > >> I have read FAQ #24 (How can I allow any Unix user to login to >> Webmin?) and would like to know who to do the following: >> >> In the Webmin Users module, I would create a user called staffunixer. >> I would give this webmin user access to the modules that I would want >> all my Unix users in the 'staff' unix group to have access to. >> Whenever a user logs into webmin using their unix account username and >> password, webmin would give them the modules that I setup for >> staffunixer if they belong to the unix group 'staff'. This would >> allow me to create unix users and put add them into the unix group >> that would give them the right webmin modules. I wouldn't have to >> create specific webmin users for each user I wanted to give access to >> webmin. >> >> Hope that makes sense. Basically my question is : >> >> How can I allow specific Unix users based on specific Unix groups to >> login to Webmin without creating specific Webmin users for each user? > > >>> This is not currently possible in Webmin unfortunately .. only a single >>> Unix authentication user can exist. Usermin gives you more flexibility >>> in controlling which Unix users a Webmin user can access, but it's >> > modules are of course different .. > >>> - Jamie >> > > > Jamie: > > If this is not possible then how do I add webmin users from the command > line? I followed the last instructions from the FAQ but it does work. > Here is my process: > > I add a linux user web3 with a password > I edit miniserv.users and add the line web3:x:0:: > I edit the webmin.acl and add the line web3: quota ... extra modules etc > > I can't login with web3. If I go in with an admin account and edit web3 > user and just save the info it will then work. How do I get this to > work so I add users through a command line script? > > I have tried adding a line in config too (web3: quota) > > This would do the same thing. > > Stephen. Updating those files is all that is needed, but you have to re-start Webmin for the changes to take effect. Just run /etc/webmin/stop ; /etc/webmin/start to do it. - Jamie |