From: Jamie C. <jca...@we...> - 2003-04-02 23:04:50
|
The only way currently would be to actually modify the code of useradmin/save_user.cgi, specifically line 408. Maybe in a future version I will add an access control option to change this default though .. - Jamie On Thu, 2003-04-03 at 05:37, Hackett, Peter wrote: > Anyone have any thoughts on how I can change the default behaviour to not > create the home directory without having to ask the webmin user? > > Thanks. > > -----Original Message----- > Sent: Friday, March 28, 2003 12:57 PM > To: 'web...@li...' > Subject: RE: home directory with nis and automount > > > If I can change the default behavior to NOT create a home directory so I can > handle it with a post-run script, that works... but how can I configure > that. I only see a way to either present or not present the question to the > webmin user of creating home directory. If I configure it to not ask the > question , it tries to create it anyway, which fails. Is there a way to > change the default to 'not-to-create' the home directory vice creating it > when the quesiton isn't asked. > > Ultimately, I don't want the webmin user to be presented with the option of > creating a home directory, and I don't want webmin to try to create a home > directory. > > Thanks > > Peter. > > > > -----Original Message----- > From: Jamie Cameron [mailto:jca...@we...] > Sent: Thursday, March 27, 2003 3:36 PM > To: web...@li... > Subject: Re: home directory with nis and automount > > > What kind of error message does it fail with? I can imaging that when it > tries to run mkdir /home/someuser for a new user, that will fail because > that directory does not exist on the NIS server .. and I can't see any > obvious > solution. > > - Jamie > > "Hackett, Peter" <PHa...@ta...> wrote .. > > Has anyone got webmin to work correctly when using auto_home automount > > maps?? Regardless of what I try, it fails when creating test accounts. > > > > Suggestions appreciated. > > > > Peter > > > > > > -----Original Message----- > > Sent: Tuesday, March 25, 2003 4:41 PM > > Subject: home directory with nis and automount > > > > All. > > > > Trying to figure out how to configure webmin user creation mechanism in > > a > > Solaris NIS environment with auto_home automount map. The home direcotory > > in the password file needs to be at /home/username. > > > > The auto_home map entry is: > > "username bigserver:/users/username" > > > > I suspect I can do something with a pre and post webmin-run scripts to > > make > > this work, but can't seem to make anything work. I've tried a couple > things > > like creating and making the auto_home map entry, but still errors saying > > can't create home directory. If i set the users home directory base to > > /users in the conf, that works, but it needs to be /home and not /users... > > > > Any and all help appreciated > > > > Thanks. > > > > Peter > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |