Koozali.org: home of the SME Server

Password strength on SME8

Offline joshAU

  • **
  • 70
  • +0/-0
Password strength on SME8
« on: February 12, 2008, 07:30:47 AM »
Hello, I'm running sme8. Three quick questions...

1. I need to use 6 character passwords (yes, big security risk, I know)
I'm familiar with config setprop passwordstrength .... none, etc.... but it appears the minimum I can set, even when passwordstrength = none, is seven characters.  Is there anyway to change this?

2. Where's the forum for sme8?, I would have posted this there but i couldn't find it.

3. Yes watch case sensitivity when you run "config setprop passwordstrength Users none"...... I didn't notice the case, and now, if I run "db configuration show passwordstrength" it returns the usual Users = none, but also a users = none..... Is the an easy way to remove this?

Any ideas or advice appreciated,
joshAU

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Password strength on SME8
« Reply #1 on: February 12, 2008, 08:03:06 AM »
Hello, I'm running sme8. Three quick questions...

-- snip --

3. Yes watch case sensitivity when you run "config setprop passwordstrength Users none"...... I didn't notice the case, and now, if I run "db configuration show passwordstrength" it returns the usual Users = none, but also a users = none..... Is the an easy way to remove this?

Any ideas or advice appreciated,
joshAU


db by itself should give you some hints (unless it's broken in SME8)


Regards,
William

IF I give advise.. It's only if it was me....

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Password strength on SME8
« Reply #2 on: February 12, 2008, 08:04:53 AM »
joshAU

Quote
1. I need to use 6 character passwords (yes, big security risk, I know)

Not just a security risk, but it may interfere with the PAM module & future upgrades
From http://wiki.contribs.org/SME_Server:Documentation:FAQ#Password_Strength_Checking
"PAM module requires passwords to be at least 6 characters long, so setting a password that is shorter than that may cause other problems later. SME server default settings enforce 7 character passwords."

Search the forums for a proposed workaround, but you are STRONGLY advised NOT to implement that workaround.
It's really time to re-educate your users and FORCE them to change to longer passwords, sme is never going to change password character length to anything shorter than 7.

If you make the workaround changes, you may have upgrade problems later.


Quote
2. Where's the forum for sme8?

There is no forum as sme8 has not been officially released yet, it is still a beta release software.
The only place to report issues is in the bugtracker in the sme8 category.


Quote
3. config setprop passwordstrength users none

Time to learn the syntax, it has been said enough times in this forum and here
http://wiki.contribs.org/DB_Variables_Configuration

At command prompt do
db
after looking at the syntax possibilities, you would deduce
config delprop passwordstrength users

(and be very careful with the case)
...

Offline joshAU

  • **
  • 70
  • +0/-0
Re: Password strength on SME8
« Reply #3 on: February 13, 2008, 12:21:10 AM »
Thanks for your replies.

william_syd ....somewhat cryptic answer...

RayMitchell, 1. yes I had read about that.... although I don't know what the PAM module is...
Don't worry, I'll look it up...:) In regards to the workaround, if its "config setprop passwordstrength Users none" -this still requires 7 character passwords on sme8. All workarounds suggested in this forum seem to refer to this workaround, which is not what im after. Perhaps I missed the post.

2. oh ok, i forgot its still beta, lukily this isn't a vital server...
3. Yes, it probably is time to learn syntax...I just wish there was 36 hours in a day.
Thanks ray, that's just what I needed. Much appreciated

joshAU

« Last Edit: February 13, 2008, 12:56:08 AM by joshAU »

Offline shawnbishop

  • ****
  • 298
  • +0/-0
Re: Password strength on SME8
« Reply #4 on: February 14, 2008, 07:21:30 PM »
Hi

How do I download version 8, i want to try it??

Offline grattman

  • ***
  • 122
  • +0/-0
Re: Password strength on SME8
« Reply #5 on: February 14, 2008, 08:28:38 PM »
How do I download version 8, i want to try it??

Shawn,

You can download it here: http://smemirror.fullnet.co.uk/releases/testing/8.0/iso/i386/

Also keep in mind, there is also a wealth of information here: http://www.contribs.org such as the link to download SME 8.

Cheers,
grattman
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Password strength on SME8
« Reply #6 on: February 14, 2008, 10:02:45 PM »
joshAU

The workaround I referred to was how to reduce the password length by tweaking code, not the db command you mention. If you had searched the forums on passwordstrength you would find this
http://forums.contribs.org/index.php?topic=38601.0
and this
http://forums.contribs.org/index.php?topic=38078.0
but make sure you also read this
http://forums.contribs.org/index.php?topic=38190.0
and this
http://bugs.contribs.org/show_bug.cgi?id=3039

It's not really advisable to do so though, the ultimate conclusion was that base code needs to be altered, and that code will get overwritten with each upgrade, apart from any other issues with pam authentication, should you be using that. Apart from those issues which are indentifiable now, who knows what other dependencies/issues future releases of sme server may have on password length and the resultant unintentional effect on non standard systems.
When you go non standard, then the risk is yours and at some stage you will have problems for sure.

Why waste time with those hassles, when you should just force your users to change bad habits. Tell them it's because the server has more stringent security requirements, which is ultimately in their best interest due to the increase in hacking & attempts to gain root access by devious means eg via user login etc etc.
« Last Edit: February 14, 2008, 10:12:45 PM by RayMitchell »
...

Offline shawnbishop

  • ****
  • 298
  • +0/-0
Re: Password strength on SME8
« Reply #7 on: February 15, 2008, 07:44:47 AM »
Thnaks Grattman

I use the SME 7.2 / 7.3 extensively, I love it...such an excellent replacement for MS SBS.

Cheers for the info

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Password strength on SME8
« Reply #8 on: February 15, 2008, 11:39:06 AM »
You can download it here: http://smemirror.fullnet.co.uk/releases/testing/8.0/iso/i386/
Please do not post direct links to the mirrors but use http://mirror.contribs.org/releases/testing/8.0/iso/i386/ as this will automatically route you to an available mirror even when this one might perhaps stops it services.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline joshAU

  • **
  • 70
  • +0/-0
Re: Password strength on SME8
« Reply #9 on: February 16, 2008, 07:18:10 AM »
Hi RayMitchell.
Thanks for the workaround.
Your right though, I don't think I'll use it, too many potential issues may arise in the future.
I'll just have to change me to fit the computer.
I thought I only had to do that with Microsoft and Norton products:)

Regarding searching the forums, I did search and majority of what I found only seemed to refer to the "config setprop passwordstrength Users none" option.  I am familiar with using a search engine, being an IT technician for most of the last decade. I didn't see those relevent posts in the sea of advice re config. I do try to avoid posting a question until I have searched the forums, as I know there's so many questions coming in all the time.

One query.....Is the seach engine a bit flaky occasionally?...Or is it my user-lameness?
For example:

I enter the term "passwordstrength" (without quotes) into the search engine at the top of any forums.contribs.org page and press search.  It returns no results. I say BS and go back and try again, and a third try to be sure, but No results found. BUT, if I hit the revise search on the next page, up comes 26 results.....ODD. I have confirmed this just now as i write this. This occurs to me on two computers in different physical locations, my work pc and my laptop at home. HOWEVER, it doesn't do it all the time, and when it does work, it will continue to work when i retest it.

Is this a case of user lameness or some other issue. Its a bit disconcerting when you search for something you know exists on the forum, but the search returns no results.

Let me add that this does not occur every time i search the forums, but I have suspected it occassionally in the past and reproduced it repeatedly in the last two days.

I dont think its an issue with my pcs or browsers, as they run slightly different os's (2000, XP), ones IE6 the others IE7, on uses a sme squid proxy, ones on a very standard adsl modem.

This query should probably placed as a seperate question, but id like to rule out any user faults first:)

Thanks again Ray


Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Password strength on SME8
« Reply #10 on: February 16, 2008, 07:22:46 AM »
if I hit the revise search on the next page, up comes 26 results.

That's how it works for me.

Regards,
William

IF I give advise.. It's only if it was me....

Offline joshAU

  • **
  • 70
  • +0/-0
Re: Password strength on SME8
« Reply #11 on: February 22, 2008, 07:47:15 AM »
Yes Thats how it works for me.
But I should not have to click revise search to see the results.

eg. say i search google.
google does not return no results to my search.
I do not have to click revise on the next page...to see the results for google.

I'm still confused.

Josh

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Password strength on SME8
« Reply #12 on: February 22, 2008, 08:18:48 AM »
joshAU

Quote
But I should not have to click revise search to see the results.

If you want it fixed then lodge an accurate bug report at bugzilla (category = website) with enough detail so that someone else can hopefully reproduce the problem.
...

Offline pfloor

  • ****
  • 889
  • +1/-0
Re: Password strength on SME8
« Reply #13 on: February 23, 2008, 06:15:15 PM »
joshAU

If you want it fixed then lodge an accurate bug report at bugzilla (category = website) with enough detail so that someone else can hopefully reproduce the problem.


I can reproduce the problem but not on just contribs.org.  Other sites using SMF exhibit this problem so this is a bug with SMF and a bug report should be lodged at http://www.simplemachines.org/
In life, you must either "Push, Pull or Get out of the way!"

Offline pfloor

  • ****
  • 889
  • +1/-0
Re: Password strength on SME8
« Reply #14 on: February 23, 2008, 06:24:49 PM »
I can reproduce the problem but not on just contribs.org.  Other sites using SMF exhibit this problem so this is a bug with SMF and a bug report should be lodged at http://www.simplemachines.org/

Let me revise that...

It isn't a "bug", it is a weird quirk in SMF.  If you do a search using the search box at the top of the page, it only searches the board that you are in.  Kinda stupid if you ask me :-)
In life, you must either "Push, Pull or Get out of the way!"