Questions tagged [config-files]
12 questions
14
votes
7 answers
How do I get back the default Samba configuration file (Debian-based system)?
I recently installed Samba and I messed up the /etc/samba/smb.conf file. How do I get the original configuration back?
Frew Schmidt
- 1,301
6
votes
1 answer
How to create ECDSA keypair based on OpenSSL config file?
When generating CSRs based on RSA key-pairs I'm using the OpenSSL req command for convenience:
openssl req -new -noenc -config 'server.cert.conf' -keyout 'private/server.key.pem' -out 'server.csr.pem'
I like to put the details into a config file,…
meeque
- 75
5
votes
1 answer
Jenkins config file for Global Security - Security Realm - Jenkins’ own user database
I need to find out where Jenkins stores its configuration data. Especially Global Security - Security Realm I tried to search var/lib/jenkins folder but without any success. Is there config file with this settings? I am not able to log in the…
Čamo
- 397
1
vote
1 answer
How can I hide plaintext passwords while editing a plaintext config file?
There are config files like wpa_supplicant.conf that can contain plaintext passwords. Sometimes I want to edit such files on my laptop while sitting in a public place, so it would be bad to show my password to everyone.
Is there an editor that can…
thejh
- 1,457
1
vote
0 answers
How to tell VLC to use a different set of configuration files?
I have a 3 monitor setup. I want to run VLC 3 instances to 3 different monitors.
I setup my preference and copied the vlcrc and vlc-qt-interface.ini file to a folder say vlc2 and I tried running a .bat file with the following:
vlc.exe --config…
Earl Miller
- 11
1
vote
1 answer
OS X: Printer profiles path?
I need to know where the "printer profiles" are stored.
I'm not referring to the drivers or any of that, what I'm referring to is when you add a printer, you can define different profiles (IE paper size, orientation, etc) and save the commonly used…
Harv
- 159
1
vote
1 answer
How to best use SED to comment out a config value while adding a new config value right after it?
I want to edit some config files on in the CLI without a wysiwyg editor but instead using sed.
Is there a best practice for doing that?
Here are a few examples of what I mean:
Config file example 1
A line in the config file could be this:
foo_option…
ingank
- 11
- 2
1
vote
0 answers
Why do config files stored in Dropbox not work?
Recently I have moved an AutoHotKey script and an AntiMicro profile to a Dropbox folder to avoid suddenly losing them if something happens. Since then new problems arise:
The AutoHotKey script cannot be read by Task Scheduler in every log on. It…
Ooker
- 2,199
0
votes
1 answer
cannot install configuration profile on iphone: "configuration profile installation failed"
We created a new profile for accessing our exchange using client certificates. The iPhone is connected localy to the windows pc. Trying to send the profile the iPhone configuration program says sometimes Configuration profile installation failed.…
marsh-wiggle
- 3,134
0
votes
0 answers
systemd service reads .ini file, throws no section error
I am working with a systemd service that must start a python script, which is configured with a .ini file. The service looks like this:
[Unit]
Description=service to configure and run python script with config.ini
After=multi-user.target …
0
votes
1 answer
Files are fully sent but not fully received on ftp server (proftpd)
I was trying to use proftpd to setup a ftp server on an old laptop that I have. However, after setting up the server and users successfully, I noticed that unless the file is small enough (about 50 kb) I can always upload it to the server from…
-1
votes
3 answers
Change Config Direction of Notepad++
I want to know where I can change the location where Notepad++ saves the config files (which is by default the appdata folder, if not checked that it should not use this folder)
The reason why I want to know that: I am working with 2 computers at…