...how to update system time permanently in solaris through c++.
...how can i login into superuser(su) account through c++ code in solaris.
Jump to Post
1. Same as you would in a C application.
2. Ditto - you can't.
1. Why? Call system("ntpdate ntp_server_address") - this will set the system time to the global clock. Guaranteed accurate. If you want to set it to your own value, use …
All 5 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.