Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a slight problem with the openldap server installed with Mac OS X 10.6.8 (regular, not server). When I launch slapd in a terminal, it stops itself after 1 or 2 seconds... I just have the time to see its process... It doesn't seem to crash, because when I specify a log file in the configuration, the log is created, but empty.
However, when I launch it with the debug option, for example -d 1,it doesn't fork and stays in the terminal (that's the documented behavior) and it runs normally. I can connect, and so on... Meaning, I presume, that's not a config problem.
Is there something stupid I've forgotten? (btw, I've repaired the authorizations, just in case, but that doesn't change the problem...)
Thanks in advance!
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm guessing this should be easy but I can't work anything out.
I'm using terminal on my Mac (latest OS). I'm connecting to a web server and running this command:
sudo nano /etc/apache2/apache2.conf
I then see the config file. I can change things, but for the life of my I can't save it. I can see the list of options highlighted at the bottom saying use ^X to exit and I've tried :w! etc. but nothing. The problem seems to be whatever I type is being used as changes to the file, so some how I need to type into terminal but not as an edit to the file.
If I close the terminal then everything is ignored, so that won't work.
I'm using Ubuntu 12.04 LTS if that means anything.
I bet this is easy, but it's really frustrating for me.
^X means to press the control key and X rather than type it in.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
An attempt at security.
In an attempt to make my computer useless if stolen I have a batch file which tests for a file on my pen drive when booting and if not found then it switches to a dummy background and closes windows down. If my pen drive is present it takes a backup of my critical files and proceeds normally.
I would like to do the same when booting into safemode. I've found the Reg key that I think I needs but how to I tell it to run checkpen.bat ?
HKLM\SYstem\CurrentControlSet\Control\SafeBoot
Ian
You need to do following
1.) Install the batch Job as a Service. The steps can be found here
2.) Make a entry in HKLM\SYstem\CurrentControlSet\Control\SafeBoot\Minimal with the name of the service. Add a default column and set it as `Service'
Hope this helps.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to automate the updating/installation of MS patches in some remote machines.
I can't use MDT because there is already a different subsystem handling mass software/patch distribution on all the workstations.
Therefore the easiest/fastest way would be to connect with a script to each machine and run a command (if it exists) that would start updating the system just as if a user had clicked Control Panel/Windows Update/Update now...
I searched and found the wuauclt utility which I try to run on a machine and check if it works and it just doesn't do anything.
I tried doing
wuauclt /a /detectnow
and then
wuauclt /r
It doesn't report that "The command does not exist" or anything like that. It just doesn't output anything at all and I see no updates being installed in the background.
Any ideas?
I read this article yesterday, I think it might be able to help you. Please give it a look and let me know if it helps.
http://www.ehow.com/how_8724332_use-powershell-run-windows-updates.html
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
In windows 7 when you click start...then the shut down button. what program is it calling to do the work?
You can always use where.exe to find things like this:
C:\>where shutdown.exe
C:\Windows\system32\shutdown.exe
There is a command-line process "shutdown.exe" which is generally the go-to for programmatic shutdowns/restarts.
http://technet.microsoft.com/en-us/library/bb491003.aspx
This does the actual shutting down. The various windows or dialogs you see asking you to choose how you want to shut down (shut down, sleep, hibernate, restart, log off) and/or asking you to confirm you want to do what you said you did are just part of the taskbar/start menu program, explorer.exe (which is also the Windows Explorer executable).
C:\Windows\System32\shutdown.exe
Though this is definitely not a Stack Overflow question.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am using a Mac OS X - Snow Leopard. And to connect in our CVS we need to start the stunnel.
All time I have to go to "Terminal" and write
sudo /opt/local/bin/stunnel
=> than write the password
In have no idea, so my question is: How I automatic write this command every time that the Mac OS X start? Or in this case, start a program in super-user mode?
Any suggestion?
You should create a startup item (/Library/StartupItems/stunnel/stunnel; see the mysql startup item for guidance on how to set it up) or add a line in /etc/rc.common
It'd be better if you use launchd.
Put /opt/local/bin/stunnel in /etc/rc.common.