From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,d126098a5be92cfb X-Google-Attributes: gid10952f,public X-Google-Thread: 1164f8,d126098a5be92cfb X-Google-Attributes: gid1164f8,public X-Google-Thread: 106e9e,d126098a5be92cfb X-Google-Attributes: gid106e9e,public X-Google-Thread: fee84,d126098a5be92cfb X-Google-Attributes: gidfee84,public From: Bernard Stani Subject: Re: Need to reset root console account? help... Date: 1999/09/13 Message-ID: <37DD5B35.A6BBB763@fcmail.com>#1/1 X-Deja-AN: 524602797 Content-Transfer-Encoding: 7bit References: <7rj7p8$r78$1@nnrp1.deja.com> X-Accept-Language: nl, en X-Server-Date: 13 Sep 1999 20:14:50 GMT Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@casema.net X-Trace: reader1.casema.net 937253690 28768 195.96.98.125 Organization: Hacks'R'Us MIME-Version: 1.0 Newsgroups: comp.os.linux.security,comp.security.unix,comp.sys.dec,comp.unix.osf.osf1 acunet3278@my-deja.com wrote: > > Can you kindly share your experience with me? > The root console account is locked, how can it be reset? > > On day the server DEC UNIX server crashed in my company and someone > tried to login as root at the console. They didn't know the correct > password and as a result, UNIX security locked the root console account. > > Beacuse I have superuser priviledges on the system, I can still telnet > to my account and invoke the SU command. > > Typically, when a customer encounters this problem, its because they > tried to telnet to their account unsuccessully a number of times. That > is exactly what happend to the root console login. > > Whenever accounts get locked, I typically do the following: > > # cd /tcb/files/auth/[first letter of UserID] > # cp customer_userid customer_userid.bak > emacs customer_userid > > Delete the unsuccessful login attempts field, "u_numunsuclog". > > The root account, however, has additional fields in its auth file > compared to a normal unpriviledged user. If the above procedure is > followed, I still can't unlock the root console account. > > The old sysadmin quit and I am a newbie sysadmin trying to fill his > shoes at the company. Any tips, suggestions or comments are welcome. > Please advise. Thank you. > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't. I don't know much about the DEC Unix system but maybe the (/etc/)passwd (or shadow) file has been modified. On my linux system an account gets disabled if an asterix (*) is added at the beginning the password field. -- Going the speed of light is bad for your age. Linux 2.2.11 #17 Fri Sep 3 12:52:10 CEST 1999 10:10pm up 9:17, 1 user, load average: 2.11, 1.94, 1.53