Web Server forum
Back To The Forum Home!Search!Private Messaging System


Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Debian Linux Users forum > root pass




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    root pass  
konf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 07:24 PM

Hello
during the installation of debian testing/unstable i missed menu
offering to set root password.how should i login to the system?is the
any default password for root set by installation?
please help.
thanks


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email
]





[ Post a follow-up to this message ]



    Re: root pass  
Leandro examnotes Faria Cor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 07:24 PM

Em Seg, 2004-01-19 =C3=A0s 10:33, konf escreveu:
quote:
> during the installation of debian testing/unstable i missed menu > offering to set root password.how should i login to the system?is the > any default password for root set by installation?
You should reboot, get the Lilo prompt (the S or C or A keys should do it), and pass the init S parameter. --=20 Leandro Guimar=C3=A3es Faria Corcete Dutra <ldutra@prefeitura.sp.gov.br> Prefeitura do Munic=C3=ADpio de S=C3=A3o Paulo Governo Eletr=C3=B4nico, Telecentros +55 (11) 5080 9647 http://br.geocities.com./lgcdutra/ +55 (11) 5080 9648 -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email ]




[ Post a follow-up to this message ]



    Re: root pass  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 07:24 PM

Hello

Leandro Guimarães Faria Corcete Dutra (<ldutra@prefeitura.sp.gov.br> )
wrote:
quote:
> Em Seg, 2004-01-19 às 10:33, konf escreveu: > > You should reboot, get the Lilo prompt (the S or C or A keys should do > it), and pass the init S parameter.
I don't know about unstable or sarge, but if you use Woody and boot into single user mode, you will be asked for the root password. You can however try Linux init=/bin/sh instead. After the system booted, remount your / read-write: mount / -o remount,rw and call passwd to set the root password. best regards Andreas Janssen -- Andreas Janssen andreas.janssen@bigfoot.com PGP-Key-ID: 0xDC801674 Registered Linux User #267976 -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email ]




[ Post a follow-up to this message ]



    Re: root pass  
Jan Minar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 07:25 PM

On Mon, Jan 19, 2004 at 01:33:27PM +0100, konf wrote:
quote:
> during the installation of debian testing/unstable i missed menu > offering to set root password.how should i login to the system?is the
(1) When (re-)configuring a system, have a paper notebook handy. Unless you have an infaliable memory, this is a paramount.
quote:
> any default password for root set by installation?
(2) At the kernel command line, add ``init=/bin/sh'' at the end. This should boot the sh(1) shell just after the kernel is booted, circumventing any security measures. Depending on your setup, you might have to boot off a rescue/install disk in order to get a bootloader prompt. (3) at the shell prompt, mount the filesystem carrying /etc/shadow for write access: ``mount -o remount,rw /'' (4) call the password alteration command: ``passwd''; change the password. (5) unmount, so that you won't get fs corruption: ``mount -o remount,ro /'' (6) just to be sure the data are really written: ``sync'' and wait a while (7) reboot I hope I didn't miss anything, I'm writing this off of the top of my head ;-) You can see, there is not much to the Unix security if the attacker can mess with the bootup process. Restricting physical access, and/or setting up bootup/bootloader passwords is a necessity when security is an issue. HTH, Jan. -- Jan Minar "Please don't CC me, I'm subscribed." x 9




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:35 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register