You are not logged in.

#1 2011-07-15 17:33:01

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

{SOLVED}login locked out

Dear Archers

While merging .pacnew files, I am now locked out of user group. Cannot log in. Posting this from another PC.
Mepis 11 live CD available. Pl. suggest a remedy

Last edited by San2ban (2011-07-16 04:50:36)


Satyam eva jayate

Registered linux user #535257

Offline

#2 2011-07-15 17:42:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: {SOLVED}login locked out

Use a liveCD to fix it or the booting in the single mode.

Last edited by karol (2011-07-15 17:43:13)

Offline

#3 2011-07-15 17:45:48

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: {SOLVED}login locked out

Dear Karol

pl. explain what is to be done using live cd


Satyam eva jayate

Registered linux user #535257

Offline

#4 2011-07-15 17:56:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: {SOLVED}login locked out

San2ban wrote:

Dear Karol

pl. explain what is to be done using live cd

Edit the config files and restore the proper settings or use the ones from your backup.

Offline

#5 2011-07-15 20:41:18

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: {SOLVED}login locked out

Hint: look at your /etc/groups and /etc/passwd files.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#6 2011-07-16 03:51:47

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: {SOLVED}login locked out

Pl. treat me as a NOOB and elaborate a bit. I looked at /etc/groups, but my log-in id was not there. I created a new user, and put 'wheel' also, but unfortunately, since I did not edit sudoer's file, I cannot sudo also

How to get back my root login? Pl. advise


Satyam eva jayate

Registered linux user #535257

Offline

#7 2011-07-16 03:57:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,789

Re: {SOLVED}login locked out

How about invoking the bash shell as described in this wiki article

This method launches bash instead of the init scripts at boot time, so it does not boot to a very usable state.  But you will be in bash as root.  Use passwd to change the password for root, and reboot


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2011-07-16 04:48:51

San2ban
Banned
From: Bangalore, India
Registered: 2010-02-09
Posts: 258

Re: {SOLVED}login locked out

Dear ewaller
!!!!MANY THANKS!!!!

SYSTEM UP & RUNNING


Satyam eva jayate

Registered linux user #535257

Offline

Board footer

Powered by FluxBB