minimum length for admin password

29 views
Skip to first unread message

Jason Grout

unread,
Feb 7, 2012, 8:49:14 AM2/7/12
to sage-notebook
Hi everyone,

Currently the minimum length for admin passwords is 1 character. This
seems ridiculous. Does anyone have any issue with me increasing that to
a minimum of 6 characters?

Thanks,

Jason

kcrisman

unread,
Feb 7, 2012, 9:19:35 AM2/7/12
to sage-notebook


On Feb 7, 8:49 am, Jason Grout <jason-s...@creativetrax.com> wrote:
> Hi everyone,
>
> Currently the minimum length for admin passwords is 1 character.  This
> seems ridiculous.

Of course. As anyone who's read "Hackers" knows, the correct minimum
length is zero.

Jason Grout

unread,
Feb 7, 2012, 9:21:50 AM2/7/12
to sage-n...@googlegroups.com

Because a password of length -1 is too easy to guess? :)

Jason

Pablo Angulo

unread,
Feb 7, 2012, 5:08:43 PM2/7/12
to sage-n...@googlegroups.com
> Currently the minimum length for admin passwords is 1 character. This
> seems ridiculous. Does anyone have any issue with me increasing that to
> a minimum of 6 characters?

Would that affect notebook servers that accept only connections from
localhost? In the classroom, it would make things more complicated if
each student chose a different password, instead of all of them using
"admin". For example, the browser closes and they have to log in again.
Sure, they can restart the notebook, but we are talking 100% rookies, so
they would rather freeze and ask the teacher. It also happened to us in
a kde environment that we did not install that the notebook would not
log in automatically.

Jason Grout

unread,
Feb 7, 2012, 5:11:30 PM2/7/12
to sage-n...@googlegroups.com

Right now, it only affects the admin password that is requested the very
first time a notebook is started. It does not change the automatic
login that happens when the notebook is started up on localhost.

Jason

pang

unread,
Feb 8, 2012, 6:28:56 PM2/8/12
to sage-notebook
On Feb 7, 11:11 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> Right now, it only affects the admin password that is requested the very
> first time a notebook is started.  It does not change the automatic
> login that happens when the notebook is started up on localhost.

Still, that is the password that every student sets to 'admin' the
first day. After that, if there is trouble we know the password.

For example if you want to login with a browser that is not the
default you need to know that password. For example, say the graph
editor or the jmol applet doesn't work in the default browser for your
version of sage, but you know it works with a different browser. That
may happen several months after the course has started, and no one
would remember the password by then. Most students won't probably
understand why they need to login in the first place. That would be a
waste of time.

Pablo

William Stein

unread,
Feb 8, 2012, 7:02:27 PM2/8/12
to sage-n...@googlegroups.com

That's why on my (single user!) laptop I always start the notebook
with this script:

deep:~ wstein$ more bin/sagenb
sage -notebook require_login=False accounts=Fals

--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

pang

unread,
Feb 9, 2012, 5:00:26 PM2/9/12
to sage-notebook
> That's why on my (single user!) laptop I always start the notebook
> with this script:
>
> deep:~ wstein$ more bin/sagenb
> sage -notebook require_login=False accounts=Fals


you're right, that does the job
Reply all
Reply to author
Forward
0 new messages