LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-14-2018, 06:20 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Rep: Reputation: 59
What is the output of "date -u +%V$(uname)|sha384sum|sed 's/\W//g'"?


The question appears in the registration form of the ArchLinux forum. I get
Code:
[root@revenge Downloads]# date -u +%V$(uname)|sha384sum|sed 's/\W//g'
8200e4c9600c8a6e8a69895104d20abfe4d0eaff5593af3e7afc0add9e7aa81fa17480807eb1123de6c6223c5167eb4b
[root@revenge Downloads]#
but the answer is rejected!
 
Old 04-14-2018, 07:54 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,450

Rep: Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719Reputation: 1719
Are you running it with on an Arch box? Maybe the output of uname is different on Arch?

That, or since it's dependent on the current "week number", there is some major clock drift on their server? (I get the same result as you, by the way).
 
Old 04-14-2018, 08:16 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
In:
Code:
 date -u +%V$(uname)|sha384sum|sed 's/\W//g'
out:
PHP Code:
8200e4c9600c8a6e8a69895104d20abfe4d0eaff5593af3e7afc0add9e7aa81fa17480807eb1123de6c6223c5167eb4b 

In:
Code:
date -u +%V$(uname)|sha512sum|sed 's/\W//g'
out:
PHP Code:
4a126d473efd5cb336532097051882574eb13526fb12b2f90561f8eac96ee672d8d518a8ad75f318649b39717b4c8e4b65478eab293cfad72ff6088eeb54e72c 
It's the second one...
 
Old 04-15-2018, 11:04 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
What do you mean, Habitual. I am trying to register again and now the question is:
What is the output of "date -u +%V$(uname)|sha224sum|sed 's/\W//g'"?
This seems kind of a joke.

Oh yes, this is Arch Linux. In regard to the registration I found the following post:
https://bbs.archlinux.org/viewtopic.php?id=170564
The forum URL is https://bbs.archlinux.org/register.php?action=register

Last edited by stf92; 04-15-2018 at 11:14 AM.
 
Old 04-15-2018, 11:38 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
What do you mean, Habitual. I am trying to register again and now the question is:
What is the output of "date -u +%V$(uname)|sha224sum|sed 's/\W//g'"?
This seems kind of a joke.
On my non-Arch system / (my Mac is missing a 'couple' of utilities, so I use my "bat-cave")
today, I issued
Code:
date -u +%V$(uname)|sha224sum|sed 's/\W//g'
and got back
PHP Code:
f6abd11a0ce3b33dc62c23224df92c7e3d88b7df05d96c440e7eec28 
Yesterday, I issued these commands
Code:
root@habitual.guru ~ # date -u +%V$(uname)|sha384sum|sed 's/\W//g'
8200e4c9600c8a6e8a69895104d20abfe4d0eaff5593af3e7afc0add9e7aa81fa17480807eb1123de6c6223c5167eb4b
root@habitual.guru ~ # date -u +%V$(uname)|sha512sum|sed 's/\W//g'
4a126d473efd5cb336532097051882574eb13526fb12b2f90561f8eac96ee672d8d518a8ad75f318649b39717b4c8e4b65478eab293cfad72ff6088eeb54e72c
I'm not sure who you think is joking you but this appears to be a rotating captcha, likely meant to defeat Forum Spam/Bots

All 3 variants used in 2 days by me
Code:
date -u +%V$(uname)|sha384sum|sed 's/\W//g'
Code:
date -u +%V$(uname)|sha512sum|sed 's/\W//g'
Code:
date -u +%V$(uname)|sha224sum|sed 's/\W//g'
I will note that Firefox 59.0.2 doesn't even present that Question on the same page.
in my newly installed FF.

Details at http://termbin.com/19ju

Other than Forum Spam Defense, not sure why this happens.
 
Old 04-15-2018, 04:01 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
I still don't understand. What made you try with sha512sum?
 
Old 04-15-2018, 04:53 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
I still don't understand. What made you try with sha512sum?
I did not "try" anything.
I did as instructed at https://bbs.archlinux.org/register.php?agree=Agree
and entered the variant it showed me.

Good day.
 
Old 04-15-2018, 05:56 PM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,046

Original Poster
Rep: Reputation: 59
Did you read post #4. Somebody was having the same problem as I have.
 
Old 05-21-2019, 06:56 AM   #9
Xuuki
LQ Newbie
 
Registered: May 2018
Posts: 3

Rep: Reputation: Disabled
Arch Linux forum is BS

Hi

What on earth is this all about?
Just trying to register to the linux arch forum: https://bbs.archlinux.org/register.php?action=register. Its asks:
What is the output of "date -u +%V$(uname)|sha224sum|sed 's/\W//g'"?
I can't get the correct thing for some reason. Does someone just have whatever needs to go in the answer prompt so I can copy and paste register and get on with my life !

Many thanks,

J
 
Old 05-21-2019, 03:15 PM   #10
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,130

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I think that server is in Germany. And if it happens to be may 1 where you are, it could be may 2 in Germany already. I think that I have seen that problem before. Try later when you and that server are on the same day. Look at the time change from you and there.

Edit:

I think that server is in Germany. And if it happens to be may 1 where you are, it could be may 2 in Germany already. I think that I have seen that problem before. Try later when you and that server are on the same day. Look at the time change from you and there.

Code:
date -u +%V$(uname)|sha224sum|sed 's/\W//g'
c681d0484b6ff529f9c5bee6ef23dda5e782be24027c2474ef65ea4c
date -u +%V is just the day of the month
Code:
date -u +%V
21
Code:
date -u +%V$(uname)
21Linux
So...
Code:
echo "21Linux" |sha224sum|sed 's/\W//g'
c681d0484b6ff529f9c5bee6ef23dda5e782be24027c2474ef65ea4c
You'll need to be able to solve simple problems like this or, you will not be happy using arch.

Last edited by teckk; 05-21-2019 at 03:29 PM.
 
Old 05-23-2019, 09:50 PM   #11
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Distribution: OpenBSD/Alpine Linux
Posts: 120

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
The question appears in the registration form of the ArchLinux forum. I get
Code:
[root@revenge Downloads]# date -u +%V$(uname)|sha384sum|sed 's/\W//g'
8200e4c9600c8a6e8a69895104d20abfe4d0eaff5593af3e7afc0add9e7aa81fa17480807eb1123de6c6223c5167eb4b
[root@revenge Downloads]#
but the answer is rejected!
/bin/ksh: date -u +%VOpenBSD|sha384sum|sed 's/\W//g': not found
 
Old 05-25-2019, 07:41 AM   #12
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,130

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Ya, that's the whole idea. You have to register with a Linux box.
You can't register with a windows or BSD box.

And I said a false thing in post 10. From man date
Code:
 %V     ISO week number, with Monday as first day of week (01..53)
However, it's not that hard.
Code:
date -u +%V
21
Code:
uname
Linux
So:
Code:
echo 21Linux | sha384sum | sed 's/\W//g'
889eb8e6d765e213b1fd2fe359aa20f037634e8ac490750c700deb0186c70cf9e6cd63082f32de7a5d848d0881216d8f
If you are getting a "not found" error, then what don't you have installed? date, sha384sum, sed?

https://bbs.archlinux.org/viewtopic.php?id=170564
https://bbs.archlinux.org/viewtopic.php?id=172828
https://bbs.archlinux.org/viewtopic.php?id=155215
 
Old 05-27-2019, 12:34 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,658
Blog Entries: 9

Rep: Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097Reputation: 3097
Always fun to follow these "I can't register on Arch Forums" threads.

The best explanation I found was this:
Quote:
Originally Posted by WorMzy
To put it another way, it's more a way of ensuring people can follow basic instructions and solve problems on their own. If people are unable to do even that, they won't find these forums very forgiving.
...and for every reproducible solution out there, I'm sure the Arch Forums maintainers will change the question again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Older than $(date +"%m%d%Y" --date="14 days ago") script help Habitual Programming 10 04-06-2013 04:41 PM
[SOLVED] uname -r -- does it "read" the kernel or where does it get its output from? JZL240I-U Linux - Kernel 23 03-25-2013 09:45 AM
Piping output of "df -h" into "sed 's/<>/<>/g'" jthomson Programming 6 11-30-2011 07:36 PM
insmod hello.ko: -1 Invalid module format ("vermagic" and "uname -r" are the same!) courteous Linux - Kernel 8 02-16-2011 11:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration