Benedict Verheyen schreef:
> Jeff Dike schreef:
>>>    e screen -S $NAME -d -m $UML/$KERNEL $OPTIONS con=null con0=fd:0,fd:1
>> You want a sudo -u $UMLUSER before that screen.
>>
> 
> Jeff,
> 
> that solved it for me. The uml now starts as user benedict and in the 
> UML, the mails are no longer saved as root:root !
> I'm happy, it works.
> When i have more time, i'll test the behaviour of mails sent to a 2nd 
> user but also handled by that UML.
> 
> Thanks,
> Benedict

I got round to testing with another user and that doesn't work.
Let me explain: The UML runs several mail services (exim, courier, ...) 
and if i want to view mail via webmail (connection from another uml to 
this one as it runs courier), i get this:

imapd: chdir Maildir: Permission denied

That's with a user different than mine (my user works) and with the uml 
started as my user. I could probably solve this by starting the uml as 
root but then i have a security issue and my email would be saved again 
as root:root.

I'm not if UML can handle this kind of setup? Is it possible to mimic a 
physical server with uml where you have several services servicing 
multiple users?
As far as i've seen with my tests, it isn't able to do this right now.
Or am i still missing something?

How can i get an uml to behave like a physical machine in regards with
these permission issues as i would very much want to stay with this
technology ?

Thanks,
Benedict




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to