[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: root password in unix



On Thu, Mar 15, 2001 at 05:41:05PM +0530, Ambar Roy wrote:
>> I don't think any other flavour of unix or linux except one allows without
>passwd access. Redhat is the one
>any linux allows this, if u haven't configured lilo properly!!!!!

Its not lilo's problem maybe ju r talkin bout
the lilo stupid clear text password thing.

Its the boot scripts Red hat boot scrips don't ask
for passwd in single user mode
but most/all *nix ask for passwd
I use debian and it does ask for passwd
while bootin in single mode.

The only way to boot without knowing the passwd is
mpunting the filesystem (provided its not encrypted)
and then going to /etc and editing the /etc/passwd


Original:
root:x:0:0:root:/root:/bin/bash
Changed:
root::0:0:root:/root:/bin/bash
	 
and also the /etc/shadow

Original:
root:$1$RIl9d4TxIRIiFn2o3UETsLO9wi1K(@J:16312:0:99999:7::

Changed:
root::16312:0:99999:7::


then sync and boot normally you have enter as password.






>
>Bye,
>    /\ |\/| |3 /\ r
>
>
>
>------------------------------------------------
>An alpha version of a web based tool to manage
>your subscription with this mailing list is at
>http://lists.linux-india.org/cgi-bin/mj_wwwusr
---end quoted text---

-- 
	X windows: The next best thing to keypunching. 
................................
 Pankaj Kaushal <pankaj@xxxxxxx>
 Proud to use GNU <www.gnu.org>