11-08-2011
adding second password to preference or an app
Hi
I am new to forum and glad I found this place.
I have been searching for a way to add a secondary password to a preference pane such as date/time in Unix (Ox10.4.11) or to lock an application which I found a backdoor for access when password is not available. An app I use is a internet filter that allows a temporary password to be accessed for a particular calendar date. In lieu of the originator fixing the bug I found, I would rather just add a second password somehow over and above the administrator one it uses so as to prevent access being made by temporarily changing computer date and being abl to get into control panel of the app.
In unix is it possible to add another password say with a short terminal script that would then make it impossible to get into date and time panel w/o it?? I know this sounds funny but I'm also the administrator. It becomes really difficult if I either "lose" admin password to computer, or if I add another account and make it the administrator and don't have acceses. Unfortunately I have no one that can do administration for me and losing administration causes headaches and aggravating problems trying to do everyday maintenance. Thanks
7 More Discussions You Might Find Interesting
1. Solaris
I just installed Solaris 10 yesterday and I need to create a new username and password. I'm new to the system and I have yet to learn my way around. I appreciate all help and thank you in advance. (5 Replies)
Discussion started by: bones
5 Replies
2. OS X (Apple)
The flat files associated with the GUI are very useful in scripting, like the DNS section of the network pref pane seems to be a front end for resolv.conf..
but sometimes I cannot seem to find the file associated with the GUI area
so i was wondering what is an easy way to do this? I was... (1 Reply)
Discussion started by: glev2005
1 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone and let me start off by thanking anyone who can help with this.
I work for a company that uses Unix as one of their servers. I'm not at all familar with Unix beyond logging after I restart the server:rolleyes: I'm looking for some command that will bring me up a list of current... (3 Replies)
Discussion started by: disgracedsaint
3 Replies
4. UNIX for Dummies Questions & Answers
So I am set up on a new box for work here and I have a frustrating preference issue. Whenever I hit backspace, it deletes a whole word instead of a single character. I understand that this is generally the functionality of hitting ctrl-backspace. I tried googling for a solution and dabbled... (3 Replies)
Discussion started by: jasondj
3 Replies
5. OS X (Apple)
Mac OS X 10.6: Leopard - I'm trying to create a script that will run on its own that can edit system preferences. I've done some digging, and found that a lot of system preference options are controlled by .plist files in ~/library/preferences, /library/preferences, and... (1 Reply)
Discussion started by: Jalaska13
1 Replies
6. Shell Programming and Scripting
Dears
I am running a shell script to backup (transfer) files to a networked External HDD. Even though the public key has been added it still asks for the password before starting the transfer.
Any suggestions?
Thanks in advance. (8 Replies)
Discussion started by: BrownBob
8 Replies
7. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT MOJAVE
curlopt_netrc
CURLOPT_NETRC(3) curl_easy_setopt options CURLOPT_NETRC(3)
NAME
CURLOPT_NETRC - request that .netrc is used
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NETRC, long level);
DESCRIPTION
This parameter controls the preference level of libcurl between using user names and passwords from your ~/.netrc file, relative to user
names and passwords in the URL supplied with CURLOPT_URL(3).
libcurl uses a user name (and supplied or prompted password) supplied with CURLOPT_USERPWD(3) or CURLOPT_USERNAME(3) in preference to any
of the options controlled by this parameter.
Only machine name, user name and password are taken into account (init macros and similar things aren't supported).
libcurl does not verify that the file has the correct properties set (as the standard Unix ftp client does). It should only be readable by
user.
level should be set to one of the values described below.
CURL_NETRC_OPTIONAL
The use of your ~/.netrc file is optional, and information in the URL is to be preferred. The file will be scanned for the host and
user name (to find the password only) or for the host only, to find the first user name and password after that machine, which ever
information is not specified in the URL.
Undefined values of the option will have this effect.
CURL_NETRC_IGNORED
The library will ignore the file and use only the information in the URL.
This is the default.
CURL_NETRC_REQUIRED
This value tells the library that use of the file is required, to ignore the information in the URL, and to search the file for the
host only.
DEFAULT
CURL_NETRC_IGNORED
PROTOCOLS
Most
EXAMPLE
TODO
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_USERPWD(3), CURLOPT_USERNAME(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_NETRC(3)