Re: Chage passwords in script without expect

From: Beardy (beardy_at_beardy.net)
Date: 01/15/04


Date: Thu, 15 Jan 2004 19:15:45 +0000

John C. Linford wrote:
> Hello!
> I work at a university. Twice a year, I'm given a list of new
> students (about 300lines) and asked to create accounts. I need a way
> to set the password for each new user, but the sysadmin here won't let
> me use expect. Am I just stuck with manually entering passwords for
> each user, or is there some hope?
>
> Thanks!
> ~John C. Linford
> johnlinford at mail dot weber dot edu

If you can create user accounts then you have root privileges, and thus
you *are* the sysadmin (use of roles excluded). Use any tools you have
at your disposal (ed, sed, etc.) to get default passwords in for the new
users and force them to change at first login.

Get the sysadmin sacked for being BOFH.



Relevant Pages

  • Re: Chage passwords in script without expect
    ... # This generates passwords and encrypts them so that the passwd field can ... John C. Linford wrote: ... > johnlinford at mail dot weber dot edu ...
    (comp.unix.solaris)
  • RE: AW: Multi-User Access to Password Database
    ... As we are also using thousands of servers, we are using one methode to ... Methode is based on IP address of that server. ... As it was written on Jul 14, thus John Brightwell spake unto Meidinger...: ... passwords when you take into account network equipment ...
    (Security-Basics)
  • Re: hardware vs. john the ripper
    ... and how your cracking process is structured to address those ... (Some of the add-on modules to john can be ... Crack all the simple ones quickly? ... And what passwords are ...
    (Pen-Test)
  • Re: Win Passwords and John
    ... While this utility doesn't have the ability to crack passwords, ... them, even with SYSKEY enabled. ... Subject: Win Passwords and John ...
    (Security-Basics)
  • Re: Generate passwords by bruteforce
    ... When used with a cracking mode, except for "single crack", makes John ... I need a tool to generate passwords which contains all passwords with ... buy it or download a solution FREE today! ...
    (Pen-Test)