LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-27-2005, 11:27 PM   #1
karmakid
LQ Newbie
 
Registered: Jul 2005
Posts: 18

Rep: Reputation: 0
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...
 
Old 07-27-2005, 11:27 PM   #2
karmakid
LQ Newbie
 
Registered: Jul 2005
Posts: 18

Original Poster
Rep: Reputation: 0
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!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accidentally del /etc/group file in RedHat 9 karmakid Linux - Security 3 08-02-2005 09:16 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 05:25 AM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM
Peterborough Linux User Group Info einstein71 Linux User Groups (LUG) 2 04-30-2004 11:16 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration