I once knew a certain person who hated Kronos, and was always at work on time. (Not me, I'm on contract.) So, since Krono doesn't check referrers on form submissions, he wrote a JavaScript page that used iframes with onloads to create a new session, log him in, and then punch in/out for him. He put in cron to run "mozilla /home/johndoe/punch.html" when he wanted to be in/out.

Every time card of his was 20 hours/week right on the dot.

That person's morality aside. A similar solution could work here. In fact, I just tested it here in the McKay, and the I was able to authenticate a new MAC by hardcoding my net ID and password into this script page:

<html><body>
<form method="post" action="https://connect6.app.byu.edu/auth/perfigo_validate.jsp";> <input type="hidden" name="reqFrom" value="perfigo_simple_login.jsp" />
     <input type="hidden" name="uri" value="http://www.byu.edu/"; />
     <input type="hidden" name="cm" value="dosntmatter" />
     <input type="hidden" name="userip" value="" />

     <input type="hidden" name="os" value="WINDOWS_XP" />
     <input type="hidden" name="index" value="4" />

<input type="text" name="username" size="15" value="[NET ID GOES HERE]"/> <input type="password" name="password" size="16" value="[PASSWORD GOES HERE]"/>
         <input type="hidden" name="provider" value="byu-ldap" />
         <input type="submit" name="login_submit">
   </form>
<script language="javascript">
document.forms[0].submit();
</script>
</body>
</html>

-jb

Michael Moore wrote:

I have a headless linux box on the BYU network. Come monday I will
need to 'authenticate' it with byu's network, How is that done? I can
ssh to the linux box...

You could also install elinks, a text mode web-browser that supports
ssl. You'd have to ssh in and run elinks, then authenticate manually,
but it should work.

--
Michael Moore
-------------------------------
www.stuporglue.com -- Articles, software and computer tutorials.
www.stuporglue.org -- Donate your used computer to a student that needs it.

--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list



--------------------
BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to