LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 (http://www.linuxquestions.org/questions/red-hat-31/well-theres-info-written-inside-etc-group-accidentally-del-etc-group-in-redhat9-347490/)

karmakid 07-27-2005 10:27 PM

well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9
 
well, there's info written inside /etc/group.

i accidentally remove the entire contents. now i cant remote access the server alridi.

i know in linux, there's no undo.

pls advise on how to get back the previous settings?

i've tried to copy from /etc/group- but it's not working also...

karmakid 07-27-2005 10:27 PM

to give you all a clearer picture :-

i'm using cygwin to remote access to the server.

when i launch cygwin, i will need to
(ssh "userid" <ENTER>
password : "password").

<ENTER>

then it will prompt me the next command
(-bash-2.05b$)

and I will login as administrator by typing
(-bash-2.05b$ su - <ENTER>
password : "password"

<ENTER> ).

---------------------------------------------------------------------------------------------------

However, after i accidentally del the /etc/group and i cp /etc/group- to create a new /etc/group, here is my results now :-

when i launch cygwin, I will get
(ssh "userid" <ENTER>
password : "password").

<ENTER>

then it will prompt me the next command
([userid@homedrive userid]$ )

and I will login as administrator by typing
([userid@homedrive userid]$ su - <ENTER>
password : "password"

<ENTER> ).

---------------------------------------------------------------------------------------------------

the -bash-2.05b$ has disappeared. I can perform su - as usual and login as admin. However, I started to have problems when other server cannot mount to this main server.

HELP!!


All times are GMT -5. The time now is 08:08 AM.