unix problem HELP!!!!

unix problem HELP!!!!

Post by Lyle Batema » Tue, 10 Mar 1998 04:00:00




> hi!!
>  the passwd file at /etc was renamed. whenever i try switching to another user
> or become root, UNKNOWN ID is the response i get. is there a way to create
> the passwd file? it seems as id of all users are gone...pls help...

create a new one just by using vi and creating it.  However, if the old one was
renamed, you should just be able to rename it back to /etc/passwd, and all will
be well again.

The general format for a passwd file is as follows:

     username
     encrypted password - just leave it blank and enter a new one from the login
     prompt.
     userid
     group id
     user description
     login directory
     login shell

Each is one field on a single line, seperated by the colon (:) character.  Each
user is represented by a line in the file.  Good luck.

--
Sincerely,

Lyle W. Bateman
System Consultant
PECC Ltd.

NOTE: My views are my own, and do not represent the views
of my employer, unless explicitly stated.

 
 
 

unix problem HELP!!!!

Post by Bill Vermilli » Sun, 15 Mar 1998 04:00:00



>hi!!
> the passwd file at /etc was renamed. whenever i try switching to another user
>or become root, UNKNOWN ID is the response i get. is there a way to create
>the passwd file? it seems as id of all users are gone...pls help...

Other replies have told you how to fix this.    I was called one
time for some systems I adminster, and the 'computer person' for
the company needed to modify someone/something and she moved the
password file, thinking that by doing so she wouldn't need a
password upon login.  

Boy were they surprised.

--

(Remove the anti-spam section from the address on a mail reply)

 
 
 

1. SSH-1.x for HPUX 10.20 & SSH-2 for RedHat, Digital Unix PROBLEM, HELP please !

I compiled ssh-1.2.27 without error. After run shhd, I try connect from
RH box or Digital Unix station (both shh-2.x) but it not works.

1) From Digital Unix (ssh-2.0.12 client) to HP-UX 10.20 (shh-1.x) :

Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: hostname is 'ltas18'.
debug: Unable to open /home/users/quy/.ssh2/ssh2_config
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to ltas18...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: client_disconnect: Illegal protocol version.

Disconnected; protocol version not supported (Illegal protocol
version.).
debug: uninitializing event loop

2) From RH-5.2 (ssh-2.x, client) to HP-UX 10.20 (ssh-1.x)


Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: hostname is 'ltas18'.
debug: Unable to open /home/quy/.ssh2/ssh2_config
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to ltas18...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: Remote version: SSH-1.5-1.2.27
Executing /usr/bin/ssh1 for ssh1 compatibility.
FATAL: Executing ssh1 in compatibility mode failed.

3) from HP-UX (ssh-1.x client) to RH-5.2 (ssh-2.x) or Digital Unix
(ssh-2.x) :


quy                                                                    
SSH Version 1.2.27 [hppa1.1-hp-hpux10.20], protocol version 1.5.
Standard version.  Does not use RSAREF.
ltas18: Reading configuration data /etc/ssh_config
ltas18: ssh_connect: getuid 555 geteuid 0 anon 0
ltas18: Connecting to bobo [139.165.80.43] port 22.
ltas18: Allocated local port 1023.
ltas18: Connection established.
ltas18: Remote protocol version 1.99, remote software version 2.0.12
(non-commercial)
ltas18: Waiting for server public key.
Connection closed by remote host.

Between RH-5.2 (ssh-2.x) and Digital Unix station (ssh-2.x) I can login
without any prob.

Have you any ideas ?

PS: I can not compile SSH-2 on HP-UX 10.20 !!!
___________________________________________________
NGUYEN-DAI Quy
LTAS-Fracture Mechanics, University of Liege.
Rue Ernest Solvay 21, Bat C3, B-4000, Liege, Belgium.
http://ltas18.ltas.ulg.ac.be/~quy
_____________________________________________________

2. more problems plz help

3. please help, problem with Unix --> NT--> Unix

4. keyboard interupts

5. rcp/ftp problems between OS5/Unix & Unix/Unix

6. DHCP release

7. Unix Pgmrs: Is this a C problem or a unix shell problem?

8. mouseless window managers

9. Data General Aviion Unix box HELP HELP HELP

10. Help with SCO Unix 3.2V4.2 Cant boot up unix

11. HELP need unix debug for digital unix

12. SCO Unix 3.4.2v4.2; Foxpro 2.6 for Unix; Slow system; please HELP

13. HELP: UNIX-like tools for MS-DOS for UNIX files