11-21-2011
I'll stop just short of saying this is impossible, but honestly, you are trying to resolve a lost password issue with the application of more passwords?
If you have the ability to change the access to the date and time preference pane, what stops you from changing that back?
Here is the simplest solution. Don't change the date and time.
Here is a slightly more difficult solution. Change the privileges for the date and time preference pane so only root has execute permissions.
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
stime(2) System Calls Manual stime(2)
NAME
stime() - set time and date
SYNOPSIS
DESCRIPTION
The system call sets the system time and date. tp points to the value of time as measured in seconds from 00:00:00 on January 1, 1970,
Coordinated Universal Time (UTC).
Security Restrictions
Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser will have this privi-
lege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information
about privileged access on systems that support fine-grained privileges.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values.
The calling process does not have the
privilege.
The parameter points to an invalid (negative) time value.
The parameter is an invalid address.
SEE ALSO
date(1), gettimeofday(2), time(2), privileges(5).
STANDARDS CONFORMANCE
stime(2)