debian netinst q

2007-04-27 Thread Shimon Panfil
Hi Folks,
I've just made instalation of debian 4.0 using netinst CD.
All is fine safe a couple of minor things:
Installer did not asked me if want graphical login, set gdm or something
like that automatically, second it did not asked for root passwd and set
something that I do not know and it did not asked me if I want grub or
lilo and set grub (I definetely prefer lilo!).
So my new debian is completely unuseable. 
What did I wrong? 
TIA, Shimon
-- 
Shimon Panfil

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Baruch Even
* Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
 Hi Folks,
 I've just made instalation of debian 4.0 using netinst CD.
 All is fine safe a couple of minor things:
 Installer did not asked me if want graphical login, set gdm or something
 like that automatically, second it did not asked for root passwd and set
 something that I do not know and it did not asked me if I want grub or
 lilo and set grub (I definetely prefer lilo!).

How did you boot the installer? If you just pressed enter at the first
installer screen it should have presented you with a textual installer
that by default would have asked you for root password and also for your
computer tasks, if you chose as a task Desktop it automatically
installs X11 with GDM and the whole Gnome desktop environment.

About grub/lilo, Debian installs grub by default, if you want you can
install lilo after booting and convert your machine to lilo. But for
most users grub is a better choice.

I've never seen the installer not ask for a root password so I don't
know how you could have got to such a state.

Baruch

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Shimon Panfil
On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote:
 * Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
  Hi Folks,
  I've just made instalation of debian 4.0 using netinst CD.
  All is fine safe a couple of minor things:
  Installer did not asked me if want graphical login, set gdm or something
  like that automatically, second it did not asked for root passwd and set
  something that I do not know and it did not asked me if I want grub or
  lilo and set grub (I definetely prefer lilo!).
 
 How did you boot the installer? If you just pressed enter at the first
 installer screen it should have presented you with a textual installer
 that by default would have asked you for root password and also for your
 computer tasks, if you chose as a task Desktop it automatically
 installs X11 with GDM and the whole Gnome desktop environment.
I see. Can I have X11 without GDM Gnome etc?  
.. 
 
 I've never seen the installer not ask for a root password so I don't
 know how you could have got to such a state.

Neigher do I, seems really weird

-- 
Shimon Panfil

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread ronys

Hi,

Regarding root, IIRC, 'sudo' is configured to allow the user to get
root access, e.g., 'sudo bash' should give you a root shell.

This is the approach taken by Ubuntu as well - root itself is
disabled, all root work done via sudo.

The idea behind this is better security. I'm not ocnvinced that this
is the case, but that's the intent.

 Rony

On 4/27/07, Shimon Panfil [EMAIL PROTECTED] wrote:

On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote:
 * Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
  Hi Folks,
  I've just made instalation of debian 4.0 using netinst CD.
  All is fine safe a couple of minor things:
  Installer did not asked me if want graphical login, set gdm or something
  like that automatically, second it did not asked for root passwd and set
  something that I do not know and it did not asked me if I want grub or
  lilo and set grub (I definetely prefer lilo!).

 How did you boot the installer? If you just pressed enter at the first
 installer screen it should have presented you with a textual installer
 that by default would have asked you for root password and also for your
 computer tasks, if you chose as a task Desktop it automatically
 installs X11 with GDM and the whole Gnome desktop environment.
I see. Can I have X11 without GDM Gnome etc?
..

 I've never seen the installer not ask for a root password so I don't
 know how you could have got to such a state.

Neigher do I, seems really weird

--
Shimon Panfil

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




--
Ubi dubium, ibi libertas (where there is doubt, there is freedom)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Yedidyah Bar-David
On Fri, Apr 27, 2007 at 06:05:27PM +0300, Shimon Panfil wrote:
 On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote:
  * Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
   Hi Folks,
   I've just made instalation of debian 4.0 using netinst CD.
   All is fine safe a couple of minor things:
   Installer did not asked me if want graphical login, set gdm or something
   like that automatically, second it did not asked for root passwd and set
   something that I do not know and it did not asked me if I want grub or
   lilo and set grub (I definetely prefer lilo!).
  
  How did you boot the installer? If you just pressed enter at the first
  installer screen it should have presented you with a textual installer
  that by default would have asked you for root password and also for your
  computer tasks, if you chose as a task Desktop it automatically
  installs X11 with GDM and the whole Gnome desktop environment.
 I see. Can I have X11 without GDM Gnome etc?  

Yes. Try something like
apt-get install xorg
I did not check what exactly it installs - you might want to install
some more stuff even if you do not want gnome/kde.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Maxim Veksler

On 4/27/07, Yedidyah Bar-David [EMAIL PROTECTED] wrote:

On Fri, Apr 27, 2007 at 06:05:27PM +0300, Shimon Panfil wrote:
 On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote:
  * Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
   Hi Folks,
   I've just made instalation of debian 4.0 using netinst CD.
   All is fine safe a couple of minor things:
   Installer did not asked me if want graphical login, set gdm or something
   like that automatically, second it did not asked for root passwd and set
   something that I do not know and it did not asked me if I want grub or
   lilo and set grub (I definetely prefer lilo!).
 
  How did you boot the installer? If you just pressed enter at the first
  installer screen it should have presented you with a textual installer
  that by default would have asked you for root password and also for your
  computer tasks, if you chose as a task Desktop it automatically
  installs X11 with GDM and the whole Gnome desktop environment.
 I see. Can I have X11 without GDM Gnome etc?

Yes. Try something like
apt-get install xorg
I did not check what exactly it installs - you might want to install
some more stuff even if you do not want gnome/kde.


Shouldn't this be


# aptitude install xserver-xorg


?


--
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Baruch Even
* Shimon Panfil [EMAIL PROTECTED] [070427 18:17]:
 On Fri, Apr 27, 2007 at 03:59:40PM +0300, Baruch Even wrote:
  * Shimon Panfil [EMAIL PROTECTED] [070427 14:32]:
   Hi Folks,
   I've just made instalation of debian 4.0 using netinst CD.
   All is fine safe a couple of minor things:
   Installer did not asked me if want graphical login, set gdm or something
   like that automatically, second it did not asked for root passwd and set
   something that I do not know and it did not asked me if I want grub or
   lilo and set grub (I definetely prefer lilo!).
  
  How did you boot the installer? If you just pressed enter at the first
  installer screen it should have presented you with a textual installer
  that by default would have asked you for root password and also for your
  computer tasks, if you chose as a task Desktop it automatically
  installs X11 with GDM and the whole Gnome desktop environment.

 I see. Can I have X11 without GDM Gnome etc?  

If you install a non-desktop task you can then simply install Xorg and
the parts of Gnome/KDE/other environment that you want. You can also
simply remove gdm after the install finished and you'll get what you
want.

Do notice that the gnome package depends on gnome-desktop-environment
which depends on gdm, if you remove gdm or you don't install it you need
to install the packages needed for a gnome environment yourself.

Another approach can be to disable gdm init process with:
update-rc.d -f gdm remove
update-rc.d gdm stop 20 2 3 4 5

Baruch

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: debian netinst q

2007-04-27 Thread Baruch Even
* ronys [EMAIL PROTECTED] [070427 18:49]:
 Hi,
 
 Regarding root, IIRC, 'sudo' is configured to allow the user to get
 root access, e.g., 'sudo bash' should give you a root shell.

I haven't tried it on a new install to be 100% certain but I'm fairly
sure that Debian doesn't set things up like that. The installer
definitely requires you to set a root password to something you want.

Baruch

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Ubuntu sudo security (was : debian netinst q)

2007-04-27 Thread Maxim Veksler

On 4/27/07, ronys [EMAIL PROTECTED] wrote:

Hi,

Regarding root, IIRC, 'sudo' is configured to allow the user to get
root access, e.g., 'sudo bash' should give you a root shell.

This is the approach taken by Ubuntu as well - root itself is
disabled, all root work done via sudo.

The idea behind this is better security. I'm not ocnvinced that this
is the case, but that's the intent.



Security?

I think it's a combination of convenience for the user and a very weak
form of obscurity.

For the root user I would choose a better, longer, more random
combination of characters then I would set for my own daily used
account. The attacker would surly have easier time breaking into my
account then the root account for several reasons: ssh noroot,
password, automatic blocking of failed attempts and more.

There are several situations where you might provide your password to
a fellow friend, this does not mean you like to give him complete
control over your box.

For general system administration. You are playing with your
environment, you might have some binary which you placed in ~/bin/
there is the a chance of you using sudo to by mistake running
something from this bin path, take for example sudo mkdir newdir,
mkdir is a bash wrapper script the checks if the dir exists and if it
does it first rm it (a stupid script, but for the sake of example it
will do) the only issue is your wrapper script has a bug causing it to
rm /home or even better /. If you'd use su - such stuff would never
happen.

I can think of several more reasons where the normal user should not
be granted by default root access, think of ssh private-key logins
done from your laptop to your server machine done by a 3rd person.
Generally speaking I think that this is a Ubuntu bug that is OK for
the desktop version but should be avoid for anything else.

Maxim.



--
Cheers,
Maxim Veksler

Free as in Freedom - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]