Re: Chage passwords in script without expect
From: Beardy (beardy_at_beardy.net)
Date: 01/15/04
- Next message: Dragan Cvetkovic: "Re: Veritas NetBackup v4.5 question"
- Previous message: Darren Dunham: "Re: Chage passwords in script without expect"
- In reply to: John C. Linford: "Chage passwords in script without expect"
- Next in thread: Chris Vidal: "Re: Chage passwords in script without expect"
- Reply: Chris Vidal: "Re: Chage passwords in script without expect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Dragan Cvetkovic: "Re: Veritas NetBackup v4.5 question"
- Previous message: Darren Dunham: "Re: Chage passwords in script without expect"
- In reply to: John C. Linford: "Chage passwords in script without expect"
- Next in thread: Chris Vidal: "Re: Chage passwords in script without expect"
- Reply: Chris Vidal: "Re: Chage passwords in script without expect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|