LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-12-2020, 11:36 AM   #1
ceidleigh
LQ Newbie
 
Registered: Jan 2020
Location: Lancaster, Ca
Distribution: Solaris 11.4, Ubuntu and Peppermint
Posts: 6

Rep: Reputation: Disabled
Smile Date/Time Change Solaris 11.4


I had to manually change the time from the command line which is OK, but I could not do so from GUI (Gnome I think). My password either as administrator or root would not be accepted and the option to change remains locked. I achieved my goal but why not work from a GUI under system?

I am new to Solaris, so there is this learning curve. Big curve for me.
 
Old 01-13-2020, 12:50 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,725

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
When I'm prompted for the password in the GUI when logged on as a non-privileged user, I have to supply the password of that user, not the root password.

YMMV. I'm not on Solaris or Gnome.
 
Old 01-14-2020, 03:41 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Is root a user or a role in your installation ? In a desktop environment, you cannot directly log in as root when root is a role.

Anyway, manually changing the time is very last centuryish.

Why not using NTP like everyone else ?
 
Old 01-15-2020, 09:58 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by jlliagre View Post
Is root a user or a role in your installation ? In a desktop environment, you cannot directly log in as root when root is a role.
Solaris has a root user account (or at least it did through Sol10; not sure about anything later). You can allow users to perform specific tasks that require root access using Role Based Access Control (RBAC). We used that on development systems setting up a captive script that the Oracle users could use to do Oracle updates (which required root access to perform a couple of the install/upgrade steps). It was a godsend to not get pestered to either run those commands for them or give temporary root access.

Quote:
Anyway, manually changing the time is very last centuryish.

Why not using NTP like everyone else ?
I'm not sure why, but I've seen this in Solaris environments before. They'd set the time at boot and it drifted all over the place. Coming into Solaris with a Tru64 background -- where clustering required time sync across cluster members, therefore, NTP -- I could not understand why they didn't use NTP or their resistance to adopting it.
 
Old 01-16-2020, 05:29 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by rnturn View Post
Solaris has a root user account (or at least it did through Sol10; not sure about anything later).
By default, root is no more an account on Solaris 11. That's the reason why I asked.
Quote:
I'm not sure why, but I've seen this in Solaris environments before. They'd set the time at boot and it drifted all over the place. Coming into Solaris with a Tru64 background -- where clustering required time sync across cluster members, therefore, NTP -- I could not understand why they didn't use NTP or their resistance to adopting it.
That's odd. Almost all production Solaris environment I saw since probably Solaris 2.5.1 (1996) had either NTP enabled or at least scheduled ntpdate in the early days.
 
Old 01-16-2020, 02:46 PM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by jlliagre View Post
By default, root is no more an account on Solaris 11. That's the reason why I asked.
Sort of why I qualified that remark. Haven't touched Sol11. So it's RBAC or something like it for everything now? I'd like to see how that works.

Quote:
That's odd. Almost all production Solaris environment I saw since probably Solaris 2.5.1 (1996) had either NTP enabled or at least scheduled ntpdate in the early days.
I've seen way too many instances of the Solaris admins having 'ntpdate' run but only at boot. The DEC UNIX clusters I inherited when starting a job many years ago were being administered by a Solaris admin and one (of many) Solaris-isms I had to mitigate was to set up NTP despite it being mentioned in the OS's system management documentation as darn near mandatory for stable cluster operation---and these clusters were anything but stable (not just because of not having NTP setup, though). Another site was doing the same darn thing: setting the clock once via 'ntpdate' by querying a router inside the company firewall. (We later found out that it was just having its clock set by someone's wrist watch upon power-up. Yikes!) Maybe I was just particularly aware of how clocks drift from having some work experience doing engineering work in time transfer---even expensive rubidium and much-more-expensive hydrogen maser clocks drift so you can imagine how much a crappy crystal oscillator inside a computer system drifts over time. It's nice to see it getting set up automatically on most Linux distributions now.
 
Old 01-16-2020, 04:48 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by rnturn View Post
Sort of why I qualified that remark. Haven't touched Sol11. So it's RBAC or something like it for everything now? I'd like to see how that works.
Definitely RBAC. Root is by default a role but it is very easy to revert it to a "regular" account, although IMHO it is quite a poor practice on production servers.

https://docs.oracle.com/cd/E37838_01...actask-21.html
 
Old 01-16-2020, 09:56 PM   #8
ceidleigh
LQ Newbie
 
Registered: Jan 2020
Location: Lancaster, Ca
Distribution: Solaris 11.4, Ubuntu and Peppermint
Posts: 6

Original Poster
Rep: Reputation: Disabled
Talking Date/Time Change Solaris

Let's see. I did not even try to log in as root. I just used the password for it because my user password did not work. So I went manual.

NTP? I know what that is but I am new to Solaris and have not even looked at that as an option yet.

I do thank all for their input. I am really satisfied since manual worked for the time being.
 
Old 07-07-2021, 08:59 PM   #9
MaratAburn
LQ Newbie
 
Registered: Oct 2020
Location: usa
Distribution: kanyUnlorYX
Posts: 1

Rep: Reputation: Disabled
-

Is there another way correct time. With VU Control centre Telnet this command change nothig. I use Ultimo 4K with latest OBH and start last week my box time is wrong. I remembe that was file ntp.conf but cant find it from box.
 
Old 07-10-2021, 02:44 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It is not clear what you are saying. Are you sure you are using Solaris?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Log Date/time doesn't change with system time saurabhchokshi Linux - Software 5 07-07-2010 12:27 AM
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 05:58 AM
thunderbird puts time instead of date under 'date' header wabbalee Linux - Software 4 11-26-2006 04:58 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration