solaris上白名单设置_在Solaris上设置日期和时间

solaris上白名单设置_在Solaris上设置日期和时间

solaris上白名单设置

Setting the system date and time is fairly easy on solaris. Because you can easily set the time from the command line, you can set the time on a server remotely.

在solaris上设置系统日期和时间相当容易。 因为可以从命令行轻松设置时间,所以可以在服务器上远程设置时间。

date mmddhhmmyy

日期mmddhhmmyy

The date command takes the syntax mmddhhmmyy, or “month day hour minute year”. You have to be superuser to set the time.

date命令采用语法mmddhhmmyy,或“ month day hour minutes year”。 您必须是超级用户才能设置时间。

Example:

例:

# date 1201010106Fri Dec  1 01:01:00 PST 2006

#date 1201010106Fri Dec 1 01:01:00 PST 2006

翻译自: https://www.howtogeek.com/howto/solaris/set-the-date-and-time-on-solaris/

solaris上白名单设置