Sure, but be EXTREMELY careful as you could REALLY screw things up.

 

You must be signed on as root to do this and have a terminal session open.

 

1.      Type in vipw. This utility will open up the password file without
inappropriately locking it.  You should see lines that look like:

someuser:x:10236:501::/ibm/data/account:/bin/bash

2.      Scroll to the user account. Select "i" (for insert) to begin
editing. Replace the line in the third position where each position is
terminated by a ":" with a "0"  In this case, the third position is "10236".
3.       After you have completed this, hit <ESC> and enter ":","w","q".
This should write the file and quit the first part of the program. NOTE:
when you type ":","w","q" you will see those characters at the bottom of
your screen only. Not within the body of the file you're trying to edit!!!
4.      You should then be prompted to edit the shadow file.  Would you like
to edit /etc/shadow now [y/n]?  Answer "y" This will take you to the shadow
file.
5.      It's not necessary to edit anything here, so just enter ":wq".  This
should take you out of the program.
6.      BIG FAT NOTE: If at any time you think you've errored editing, type
<ESC>,"q","!"  This will escape the file without saving.
7.      If you run into any problems, type man vipw from the terminal.  

 

If you're unsure about this, don't attempt it on your production box. Try it
on a test system.  

Steve

 

-----Original Message-----
From: Peter Veenhof [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 1:52 PM
To: Sirulnick, Steve; [email protected]
Subject: RE: [U2] RedHat, Universe, unlocking

 

Thanks Steve!

 

Bit of a newbie in Redhat here, do you have steps or the exact command on
how to create one of these users??

 

Thanks again,

Peter

 

 

  _____  

From: Sirulnick, Steve [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 11:27 AM
To: Peter Veenhof; [email protected]
Subject: RE: [U2] RedHat, Universe, unlocking

 

Peter, 

I have had to set up an administrator accounts and I'm not necessarily happy
with this solution.  There may be better ways to go out there.  I've had to
create a user with UID 0 privileges.  Universe requires super-user function
to be able to use the admin tools (SYSADM.MENU) and this was the only
solution.

HTH, 

Steve 

-----Original Message----- 
From: Peter Veenhof [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Wednesday, March 08, 2006 9:25 AM 
To: [email protected] 
Subject: [U2] RedHat, Universe, unlocking 

Hi all, 

Running Universe on Redhat, how does one setup a user to be able to 
perform UNLOCK at TCL? 

Thanks 
Peter 
------- 
u2-users mailing list 
[email protected] 
To unsubscribe please visit http://listserver.u2ug.org/
<http://listserver.u2ug.org/>  
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to