Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Ubuntu installation questions

 
   Soft32 Home -> Linux -> Setup RSS
Next:  [PATCH 4/6] new kfifo API v0.3 - add DEFINE_KFIFO..  
Author Message
John Goche

External


Since: Dec 18, 2008
Posts: 6



(Msg. 1) Posted: Fri Aug 14, 2009 5:12 am
Post subject: Ubuntu installation questions
Archived from groups: comp>os>linux>setup (more info?)

Hello,

12345678901234567890123456789012345678901234567890

I have been following an article from a magazine
called computer active which presented an ubuntu
installation and would like to ask a few questions
pertaining to ubuntu.

I would like to ask a few questions with regards
to the installation of ubuntu linux as part of a
dual boot system with windows vista.

1. On the "Prepare disk space" screen, are boot
partitions at the beginning of the disk on longer
required for dual booting as it was three or so
years ago?

2. On the "Who are you?" screen, does ubuntu setup
the entered account to have superuser or regular
privileges? Why doesn't the ubuntu installation
ask for a root password? What happened to the good
old famous "root" account on ubuntu linux?
So now ubuntu users can be configured as
"quasi-superusers" having all or almost all the
same power as root but, for safety enforcement
in order to deal with human errors, the password
used to log in is again required when running a
privileged operation? Is this how ubuntu gets rid
of having to log in as root to perform privileged
operations?

Or is there perhaps a root user and a window pops
up like in vista asking you to type in the root
password when an executable needs root privileges?
But where and when is the root user configured?

3. I remember the days when it was not possible to
boot from a USB memory stick (using a file which
is not called a USB install key). What year and
month was this change introduced into the PC
world and by who?

4. I don't recall the directories /media and
/srv appearing in the Linux File Hierarchy
Standard (FHS 2.0). What is the reason for
introducing these two directories and what
purpose do they serve? In particular shouldn't
media devices show up under /mnt when they are
mounted and shouldn't each user have their
own media files in their directory under
/home/suchusername and shouldn't shared files
go under /user/share ?

Thank you for your help and answers about
ubuntu and the associated installation process.

Regards,

John Goche
Back to top
Login to vote
John Hasler

External


Since: Jul 22, 2003
Posts: 103



(Msg. 2) Posted: Fri Aug 14, 2009 7:47 am
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John Goche writes:
> 1. On the "Prepare disk space" screen, are boot partitions at the
> beginning of the disk on longer required for dual booting as it was
> three or so years ago?

No. Don't worry about it. The installer will handle partitioning for
you.

> 2. On the "Who are you?" screen, does ubuntu setup the entered account
> to have superuser or regular privileges? Why doesn't the ubuntu
> installation ask for a root password? What happened to the good old
> famous "root" account on ubuntu linux?

Ubuntu creates a root account but prevents root logins by a trick with
the root password. You can change this by giving root a password. The
first (and _only_ the first) user account created is given full sudo
privileges so that user can do work requiring root access by giving her
own password. Again, you can change this. Read the sudo man page.

> So now ubuntu users can be configured as "quasi-superusers" having all
> or almost all the same power as root but, for safety enforcement in
> order to deal with human errors, the password used to log in is again
> required when running a privileged operation?

Only the first user account created is given sudo power. That user must
give her own password, not the root password, to run commands as root.

> Is this how ubuntu gets rid of having to log in as root to perform
> privileged operations?

It eliminates the temptation to run as root as you must use sudo for
every command that must run as root. It also eliminates the need to
remember two passwords and logs all commands run as root.

> Or is there perhaps a root user and a window pops up like in vista
> asking you to type in the root password when an executable needs root
> privileges?

No.

> But where and when is the root user configured?

A root account is created with a default configuration but no usable
password is assigned to it. You can change this if you wish.

> 3. I remember the days . . .

They aren't relevant. It's been a long time since Slackware 7.

> 4. I don't recall the directories /media and /srv appearing in the
> Linux File Hierarchy Standard (FHS 2.0).

They are in 2.3.

> What is the reason for introducing these two directories and what
> purpose do they serve?

<http://www.pathname.com/fhs/pub/fhs-2.3.html>

> In particular shouldn't media devices show up under /mnt when they are
> mounted and shouldn't each user have their own media files in their
> directory under /home/suchusername...

You can configure your system that way if you wish. I don't know what
you mean by "media files".

> ...shouldn't shared files go under /usr/share ?

No. That is not what /usr/share is for.
--
John Hasler
john.TakeThisOut@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Back to top
Login to vote
Florian Diesch

External


Since: Feb 11, 2007
Posts: 29



(Msg. 3) Posted: Fri Aug 14, 2009 11:20 am
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John Goche <johngoche99.RemoveThis@googlemail.com> writes:

> I have been following an article from a magazine
> called computer active which presented an ubuntu
> installation and would like to ask a few questions
> pertaining to ubuntu.
>
> I would like to ask a few questions with regards
> to the installation of ubuntu linux as part of a
> dual boot system with windows vista.
>
> 1. On the "Prepare disk space" screen, are boot
> partitions at the beginning of the disk on longer
> required for dual booting as it was three or so
> years ago?

That depends on how old your BIOS and how big your disk is.

On modern computers you usually don't need a separate /boot partition
(but sometimes you do). Using the live CD you can add one after
installation, see
<https://help.ubuntu.com/community/CreateBootPartitionAfterInstall>


> 2. On the "Who are you?" screen, does ubuntu setup
> the entered account to have superuser or regular
> privileges? Why doesn't the ubuntu installation
> ask for a root password? What happened to the good
> old famous "root" account on ubuntu linux?
> So now ubuntu users can be configured as
> "quasi-superusers" having all or almost all the
> same power as root but, for safety enforcement
> in order to deal with human errors, the password
> used to log in is again required when running a
> privileged operation? Is this how ubuntu gets rid
> of having to log in as root to perform privileged
> operations?

"Ubuntu developers made a conscientious decision to disable the
administrative root account by default in all Ubuntu installations. This
does not mean that the root account has been deleted or that it may not
be accessed. It merely has been given a password which matches no
possible encrypted value, therefore may not log in directly by itself."
<https://help.ubuntu.com/9.04/serverguide/C/user-management.html>

<https://help.ubuntu.com/9.04/administrative/C/>


> 3. I remember the days when it was not possible to
> boot from a USB memory stick (using a file which
> is not called a USB install key). What year and
> month was this change introduced into the PC
> world and by who?

I don't know either.

> 4. I don't recall the directories /media and
> /srv appearing in the Linux File Hierarchy
> Standard (FHS 2.0).

They appear at least in v2.3:

<http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT>
<http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM>



Florian
--
<http://www.florian-diesch.de/>
Back to top
Login to vote
Aragorn

External


Since: Dec 10, 2008
Posts: 65



(Msg. 4) Posted: Fri Aug 14, 2009 1:20 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Friday 14 August 2009 14:12, someone identifying as *John Goche*
wrote in /comp.os.linux.setup:/

> I have been following an article from a magazine
> called computer active which presented an ubuntu
> installation and would like to ask a few questions
> pertaining to ubuntu.

Hmm... I'm not an Ubuntu user but okay... Wink

> I would like to ask a few questions with regards
> to the installation of ubuntu linux as part of a
> dual boot system with windows vista.
>
> 1. On the "Prepare disk space" screen, are boot
> partitions at the beginning of the disk on longer
> required for dual booting as it was three or so
> years ago?

The only two possible reasons I can think of which would have
necessitated a "boot partition" - whatever you mean by that - to reside
at the beginning of the available diskspace are the following:

(1) An older BIOS which had limitations with regard to the amount of
diskspace it could read from, starting at the first cylinder. The
BIOS runs in the processor's real mode, which is the DOS-compatible
mode of operation on x86 processors (unless you have an EFI BIOS
or Linux BIOS, which run in protected mode).

Modern BIOS versions no longer have this limitation with regard to
the area of the disk they can read from.

(2) DOS and the DOS-based Windows versions - i.e. Windows 95/98/ME -
required that they were installed in an active primary partition
which started within the first 32 MB of the hard disk's available
space. NT-based Windows versions - i.e. Windows NT, Windows 2000,
Windows XP, Windows 2003 Server, Windows Vista, Windows 2008 Server,
Windows 7 and whatever comes after that - do not require this, but
they *do* require that there is a Windows-readable primary partition
present, and this partition must be marked "active" in the MBR's
partition table. The Windows partitioning tools should take care
of this, and the GNU/Linux partitioning tools won't touch that flag
unless you explicitly tell them to.

> 2. On the "Who are you?" screen, does ubuntu setup
> the entered account to have superuser or regular
> privileges?

Every user account created during the Ubuntu installation procedure is
an unprivileged user account. However, as other replying posters in
this thread have pointed out, the first (and only the first) user
account you create during this installation phase will beget /sudo/
privileges.

/sudo/ is a commandline utility that allows you to launch a process with
superuser privileges. It is normally set up to ask the user for the
user's own password, but it can be set up to ask for the root password
instead, or to not ask for a password at all (which is not
recommended). /sudo/ also makes use of a timer, so that if the user
with /sudo/ access makes use of /sudo/ twice within a given timeout, he
or she will not need to enter the password again the second time.

All of this is configurable via the file */etc/sudoers.* The file has
a /man/ page, which I recommend reading.

> Why doesn't the ubuntu installation ask for a root password? What
> happened to the good old famous "root" account on ubuntu linux?

The root account is still there, but it is by default set up without a
password in */etc/passwd* and */etc/shadow.* Please note that in a
UNIX system, "no password" does not equal "a blank password". If a
user account does not have a password assigned to it, it cannot be used
for login.

Ubuntu sets up the root account without a password so that it cannot be
logged into - and you should certainly never log in as root in a GUI
environment, because it's very tempting to do "normal everyday work"
while logged in like that and in the process jeopardize the system's
stability and security.

The root account should not be considered "a poweruser account" but
"strictly-maintenance account". In a UNIX system, *every* user is a
poweruser - because everyone can make use of one or multiple
commandline shells with hundreds if not thousands of powerful utilities
- and those who have /su/ and/or /sudo/ access are even more powerful
than the others due to the added availability of system administration
tasks. This is why not everyone should be granted /su/ and/or /sudo/
access.

> So now ubuntu users can be configured as "quasi-superusers" having all
> or almost all the same power as root but, for safety enforcement
> in order to deal with human errors, the password used to log in is
> again required when running a privileged operation?

The "password used to log in" - as you describe it - is the password of
your own user account, and /sudo/ uses the user's own password by
default - again, this can be changed; see higher up in this reply - so
as to prevent them from using the /sudo/ feature too lightly and thus
erroneously.

However, as I have mentioned higher up already and as other posters have
also pointed out, only the first user account created during the
installation of Ubuntu (or Kubuntu, Xubuntu or Edubuntu and whatever
other variant[1] they release) will have /sudo/ privileges. Any other
user account that needs /sudo/ access must be explicitly granted this
access afterwards by the user who installed the system (since he is the
only one who can do that).

_____

*[1]* Ubuntu is the main distribution, and in its desktop installation,
it makes use of Gnome as the desktop environment - presumably with
either Metacity or Compiz as a window manager, because Gnome does not
have a window manager of its own, unlike KDE. Ubuntu will by default
also only install GUI packages which support Gnome.

Kubuntu is basically Ubuntu with KDE as the desktop environment and will
by default only install GUI packages with support for KDE, which is
built upon the Qt libraries. It is however possible to install Gnome
packages as well in Kubuntu, just as it is possible to install KDE
packages in Ubuntu, but this requires that the base libraries for
respectively Gnome or KDE be installed as well. Since Kubuntu uses KDE
and KDE has its own /kwin/ window manager, it does not require an
external window manager such as MetaCity or Compiz, although KDE does
support using Compiz instead of /kwin./ The /kwin/ version in KDE 4.x
is however equiped with all the 3D functionality of Compiz, so there
isn't really any need to use Compiz instead.

Xubuntu is the Ubuntu distribution with XFCE 4 as its desktop
environment. XFCE has less features than KDE or Gnome but is much
lighter on the resources and therefore better suited for machines with
slower processors and/or less RAM.

Edubuntu is an Ubuntu distribution aimed at children, and specifically
for educational purposes, so it's not quite a "gaming" distribution.

> Is this how ubuntu gets rid of having to log in as root to perform
> privileged operations?

There is seldom ever a need to log in as root, given that the /su/
command, which allows one to temporarily become root, has already
existed in all kinds of UNIX systems for a long time - /sudo/ is a
little newer.

Although I myself do not use any of the Ubuntu variants, I normally set
up my systems to disallow all root logins both at the local console and
remotely, except for single-user maintenance mode (alias runlevel 1) -
which normally does not require that the root password is entered,
although on my systems it does - and for access to /su./ So on my
systems, the root account does have a password assigned to it, but all
direct root logins are forbidden.

> Or is there perhaps a root user and a window pops
> up like in vista asking you to type in the root
> password when an executable needs root privileges?

The way I understand it - mind you: despite anything I know about
Windows and of which I may speak in my posts, I do not use Windows
myself - Vista would be using the opposite of the /sudo/ principle,
i.e. every user account has administrator privileges by default which
are then lowered for most tasks of a normal everyday use, and when you
need to perform administrative tasks, it then "drops out of" the
lowered privileges. And if my information is correct, then Vista would
be using this kind of set-up because a lot of the Windows functionality
still requires being run with administrator privileges, and Microsoft
deemed this approach easier than implementing the Windows equivalent of
the SUID bit on UNIX.

But then again, this is Microsoft logic, and thus by definition
perverse. Wink

> But where and when is the root user configured?

In Ubuntu and all its variants, the root user account does exist but
simply does not have a password assigned to it, making it unavailable
for login. The first user account created during the installation
phase is given /sudo/ privileges, which allows this user account to do
everything root can do, including setting up a password for the root
user so that it can be used for login. Even though it is quite
possible and very easy to do this, I do not recommend it. Just because
you can does not mean that you should.

GNU/Linux is a UNIX-style system, and UNIX isn't Windows. One should
therefore not want or expect it to be, either, because that would only
result in the user adopting all of the Windows logic and habits,
resulting in lots of security problems that were never there to begin
with. It's a UNIX system, so you must use it as one - it's the only
proper way anyway in this day and age of networked computers.

> 3. I remember the days when it was not possible to
> boot from a USB memory stick (using a file which
> is not called a USB install key). What year and
> month was this change introduced into the PC
> world and by who?

Documented trivia can be found by using a webbrowser and a search
engine, so do your own homework. Wink What you're asking about is
totally irrelevant anyway. All modern BIOS versions can boot off a USB
stick.

> 4. I don't recall the directories /media and
> /srv appearing in the Linux File Hierarchy
> Standard (FHS 2.0).

They are however present in the FHS 2.3 - note: the File Hierarchy
Standard is not GNU/Linux-specific but rather UNIX/POSIX-compliant.

> What is the reason for introducing these two directories and what
> purpose do they serve?

You are being deliberately lazy here, because the webpage for the File
Hierarchy Standard explains all of the rationale behind these two
directories into detail. But okay, I'll humor you... <grin>

*/srv* is a directory that is to be used for the files and directories
needed by services running on the system, e.g. webpages being served
via the Apache webserver, FTP repositories, shared projects storage, et
al. All of this used to be put under various subtrees of */var* but
*/srv* makes it possible to access this under a top-level directory
branch, and this in turn makes it possible to have */var* and */srv*
mounted with different mount options.

In practice and with regard to GNU/Linux however, most distributions
which create a */srv* directory during system installation will leave
it empty and will still have things like Apache and ProFTPd configured
to use the traditional storage locations under */var/www* and
*/var/ftp* by default, leaving it up to the user who installs the
system to decide what */srv* will be used for. A common use would be
to store your multimedia files there, which you want to have available
to all users on the system, or the files belonging to a common project
that more than one user is working on at the same time. Somewhat
related to this, you could also set it up as an NFS share.

*/media* is a directory which serves as the parent to several individual
mountpoints for removable storage media, i.e. USB sticks, CD-ROMs,
DVD-ROMs, memory cards, floppy disks, Iomega Zip, Jaz and Rev disks,
USB hard disks and possibly - depending on the usage - eSATA hard
disks. All of these mountpoints used to live under */mnt* in
GNU/Linux, but */mnt* has in traditional UNIX always been a temporary
mountpoint for systems maintenance, not a parent directory for
removable storage. Moving all of these individual mountpoints out of
*/mnt* makes it possible to use */mnt* as a maintenance mountpoint
again without temporarily having to disable the use of the removable
storage mountpoints for the duration of this maintenance.

> In particular shouldn't media devices show up under /mnt when they are
> mounted and shouldn't each user have their own media files in their
> directory under /home/suchusername and shouldn't shared files
> go under /user/share ?

As above: removable storage devices used to be mounted to subdirectories
under */mnt,* but these subdirectories are now to be found under the
*/media* parent directory. This has nothing to do with media files -
presuming you are talking of multimedia files such as audio and video
clips. If such multimedia files are to be shared across user accounts,
then they should be put under a publicly accessable directory such as
*/srv,* and if instead for whatever reason they must remain private to
a particular user then they should be placed under said user's home
directory.

*/usr/share* - as another poster has pointed out - has a totally
different purpose. Everything that goes under */usr* is considered to
be software needed for the normal multi-user operation of the UNIX
system - this as opposed to "single-user maintenance mode", also known
in GNU/Linux as "runlevel 1" or "runlevel S", in which only the root
user can use the system and all networking and multi-user features are
disabled.

> Thank you for your help and answers about ubuntu and the associated
> installation process.

We like helping out people where we can - this is why we are here - but
a lof of the information you are asking about can be easily retrieved
by doing a little homework of your own. You are using a search engine
in order to post to Usenet newsgroups, so you might as well learn how
to use that search engine in order to find the information you are
looking for; that's what it was designed for... <grin>

--
*Aragorn*
(registered GNU/Linux user #223157)
Back to top
Login to vote
philo

External


Since: Sep 14, 2004
Posts: 92



(Msg. 5) Posted: Fri Aug 14, 2009 4:43 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John Goche wrote:
> Hello,
>
> 12345678901234567890123456789012345678901234567890
>
> I have been following an article from a magazine
> called computer active which presented an ubuntu
> installation and would like to ask a few questions
> pertaining to ubuntu.
>
> I would like to ask a few questions with regards
> to the installation of ubuntu linux as part of a
> dual boot system with windows vista.
>
> 1. On the "Prepare disk space" screen, are boot
> partitions at the beginning of the disk on longer
> required for dual booting as it was three or so
> years ago?
>

A separate /boot partition was never required ...
but having a separate /home partition is not a bad idea.

I recently did a Fedora 11 install and opted for the new ext4 file
system...which is not yet supported by grub (or wasn't when I did the
install) so a separate /boot partition was required for that. (I made
it ext3)



> 2. On the "Who are you?" screen, does ubuntu setup
> the entered account to have superuser or regular
> privileges? Why doesn't the ubuntu installation
> ask for a root password? What happened to the good
> old famous "root" account on ubuntu linux?
> So now ubuntu users can be configured as
> "quasi-superusers" having all or almost all the
> same power as root but, for safety enforcement
> in order to deal with human errors, the password
> used to log in is again required when running a
> privileged operation? Is this how ubuntu gets rid
> of having to log in as root to perform privileged
> operations?

I do not really care for the way Ubuntu dose that...
and though Ubuntu works well...I think that I'd just skip it and go with
Debian
>

<snip?
Back to top
Login to vote
John Goche

External


Since: Dec 18, 2008
Posts: 6



(Msg. 6) Posted: Sat Aug 15, 2009 10:02 am
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 14, 10:43 pm, philo <ph....RemoveThis@privacy.net> wrote:

> I recently did a Fedora 11 install and opted for the new ext4 file
> system...which is not yet supported by grub (or wasn't when I did the
> install)  so a separate /boot partition was required for that. (I made
> it ext3)

Last time I was using fedora I was using fedora 3. Has much changed
since then? I would guess that being a somewhat more serious distro
fedora 11 still asks you to enter the root password for the root
account
during installation and the regular user account is not such that it
can
execute root programs by entering the user password as is the case
in ubuntu. And I would guess fedora 11 still uses grub as the boot
loader and disk druid to manage the various partitions. Has fedora
also done away with the /boot partition which quite nicely should
no longer be needed now that the bios can access all of the hard
disk and not only the first bit as other posters pointed out in this
thread.

I am currently undecided about whether to install ubuntu or
fedora. I used to run fedora since red hat 5 to fedora 3 but
I am not sure I want to make the change to ubuntu despite
ubuntu seems to be the easier to use and most popular
distribution these days.

Well, it's just that I'm not sure whether I would find any
limitations in ubuntu when compared to fedora.

Last time I burned a ubuntu disk (yesterday) I was able
to boot it without installing it to try it. It has a very simple
user interface. But when I opened an xterm or whatever
it is called these days and ran latex it found the executable
but then when I ran "locate latex" I didn't see anything under
/usr/bin. Where has the latex executable gone?

Well, thank you for your help and advice,

John Goche
Back to top
Login to vote
John Hasler

External


Since: Jul 22, 2003
Posts: 103



(Msg. 7) Posted: Sat Aug 15, 2009 12:41 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John Goche writes:
> I am not sure I want to make the change to ubuntu despite ubuntu seems
> to be the easier to use and most popular distribution these days.

Why do you care about popularity?

> But when I opened an xterm or whatever it is called these days...

Xterms are still xterms. What you opened was one of the many clones
thereof.

> ...and ran latex it found the executable but then when I ran "locate
> latex" I didn't see anything under /usr/bin. Where has the latex
> executable gone?

It's there. You _are_ aware that locate can't work until updatedb has
run, I assume. Did you try "which latex"?

> Well, it's just that I'm not sure whether I would find any limitations
> in ubuntu when compared to fedora.

Anything you can do with one you can do with the other. Both are Linux:
the limitations are in you. not the OS.

I think you'd be happier with Slackware, though.
--
John Hasler
john.DeleteThis@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Back to top
Login to vote
David W. Hodgins

External


Since: Jun 06, 2007
Posts: 118



(Msg. 8) Posted: Sat Aug 15, 2009 1:20 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 15 Aug 2009 11:42:11 -0400, John Goche <johngoche99.DeleteThis@googlemail.com> wrote:


> The only thing that I am unclear about now is what ext4 has
> that is missing in ext3. Basically when ext3 came out the

See http://ext4.wiki.kernel.org/index.php/Ext4_Howto

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Back to top
Login to vote
Aragorn

External


Since: Dec 10, 2008
Posts: 65



(Msg. 9) Posted: Sat Aug 15, 2009 3:20 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Saturday 15 August 2009 19:02, someone identifying as *John Goche*
wrote in /comp.os.linux.setup:/

> On Aug 14, 10:43 pm, philo <ph....TakeThisOut@privacy.net> wrote:
>
>> I recently did a Fedora 11 install and opted for the new ext4 file
>> system...which is not yet supported by grub (or wasn't when I did the
>> install)  so a separate /boot partition was required for that. (I
>> made it ext3)
>
> Last time I was using fedora I was using fedora 3. Has much changed
> since then?

Yes.

> I would guess that being a somewhat more serious distro
> fedora 11 still asks you to enter the root password for the root
> account during installation and the regular user account is not such
> that it can execute root programs by entering the user password as is
> the case in ubuntu.

/sudo/ is not limited to Ubuntu. It is one of the many GNU tools packed
in every modern GNU/Linux distribution. I don't really know whether
Fedora sets up any user account with /sudo/ privileges by default, but
it is trivial to do that.

That said, Fedora does still permit a regular root login, yes, as do
most other distributions. The Ubuntu, Kubuntu et al family are to my
knowledge the only distributions that disable a direct root login by
default, but every distribution allows you to set up the root account
like that, just like all the *buntus allow you to set up the root
account with a regular password so that you can log in as root.

Do however note that even though the root account can be logged into in
most distributions, most distributions will not permit you to log in as
root via a graphical login manager for security reasons.

> And I would guess fedora 11 still uses grub as the boot loader and
> disk druid to manage the various partitions.

I don't know about Disk Druid - it's been a long time since I've seen
that tool, but installation of Fedora uses a graphical user interface
called Anaconda, and it contains a (graphical) partitioning tool - I
don't know what that tool is called, but it's there.

As for GRUB, many if not most of the modern distributions use GRUB as
the bootloader, but LILO is also still available in most, and is the
original bootloader. The difference between the two of them is that
GRUB accesses the kernel image via a filesystem driver that runs in the
processor's real mode and that GRUB contains a special shell, while
LILO does not use a filesystem driver, but instead hardcodes the
logical block offset to the kernel image and loads it like that.

LILO and GRUB are both very adequate and both have their advantages and
disadvantages. GRUB is now the default in most distributions, but in
the end, it is you who decides which of the two to use. They can both
be used to boot GNU/Linux and DOS, OS/2 or Windows. GRUB can in
addition also be used to boot other UNIX-style operating systems such
as GNU/Hurd or Solaris.

> Has fedora also done away with the /boot partition which quite nicely
> should no longer be needed now that the bios can access all of the
> hard disk and not only the first bit as other posters pointed out in
> this thread.

I'm afraid that you've got it all wrong here. Having a separate */boot*
partition is not a bad thing at all. In fact, I always create a
separate */boot* on my systems (among many more partitions).

That said, I don't really know about Fedora, but considering that it's
RedHat's "bleeding edge" version, I would expect it to be similar to
RedHat and Fedora in that it encourages the user to, instead of having
separate partitions for everything other than */boot,* rather make use
of logical volumes, since they offer more flexibility, and if you are
going to make use of logical volumes and also put the root filesystem
on one such logical volume, then you need a separate */boot* partition
(which is not on a logical volume) if you use GRUB as the bootloader,
because logical volume management is an abstraction layer above the
partitioning layer and GRUB doesn't have a driver for that. You have
to keep in mind that GRUB is only a minimal environment that runs in
the processor's real mode and that it is only a bootloader, not an
operating system.

Again, if you use LILO, then this is different. LILO uses direct
logical block offsets to load the kernel image into memory and so LILO
is totally unaware of any filesystem types. It would have to be a
prerequisite however that the kernel image then also makes use of an
initial ramdisk to load its modules from, because with the root
filesystem on a logical volume instead of on a regular partition, the
kernel has no way of loading the driver modules.

> I am currently undecided about whether to install ubuntu or
> fedora. I used to run fedora since red hat 5 to fedora 3 but
> I am not sure I want to make the change to ubuntu despite
> ubuntu seems to be the easier to use and most popular
> distribution these days.

Underneath the hood, Ubuntu is still a Debian-based distribution, and
some things will be different from the RPM-based distributions like
RedHat, Mandriva or SuSE. Even the runlevels are organized
differently.

Ubuntu is the easiest distribution to get started with for newbies, but
if you're used to RedHat and derivatives, then perhaps Fedora would be
a better choice for you.

> Well, it's just that I'm not sure whether I would find any
> limitations in ubuntu when compared to fedora.

It's all GNU/Linux, and it may be organized differently, but there is
nothing that you can do in Ubuntu but that you would not be able to do
in Fedora, and vice versa. Wink

> Last time I burned a ubuntu disk (yesterday) I was able
> to boot it without installing it to try it. It has a very simple
> user interface.

If it was Ubuntu - and not Xubuntu or Kubuntu - then the default
graphical user interface would be Gnome. I don't use Gnome myself, but
it is quite a featureful and workable desktop environment.

> But when I opened an xterm or whatever it is called these days and ran
> latex it found the executable but then when I ran "locate latex" I
> didn't see anything under /usr/bin. Where has the latex executable
> gone?

Well, the output of /locate/ and /slocate/ depends on a cache that is
created via /updatedb./ On systems that are installed on a hard
disk, /updatedb/ is periodically run by /crond/ so as to have an update
cache. It is possible that this is not available in a live CD
environment due to the read-only nature of that medium.

If you want to know where an executable is located (or which version of
the executable you would be invoking), then it is best to use /type,/
like so...

type latex

.... which on my old Mandrake system here outputs the following string to
the shell...

latex is /usr/bin/latex

--
*Aragorn*
(registered GNU/Linux user #223157)
Back to top
Login to vote
philo

External


Since: Sep 14, 2004
Posts: 92



(Msg. 10) Posted: Sat Aug 15, 2009 3:20 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Aragorn wrote:
> On Saturday 15 August 2009 19:02, someone identifying as *John Goche*
> wrote in /comp.os.linux.setup:/
>
>> On Aug 14, 10:43 pm, philo <ph....TakeThisOut@privacy.net> wrote:
>>
>>> I recently did a Fedora 11 install and opted for the new ext4 file
>>> system...which is not yet supported by grub (or wasn't when I did the
>>> install) so a separate /boot partition was required for that. (I
>>> made it ext3)
>> Last time I was using fedora I was using fedora 3. Has much changed
>> since then?
>
> Yes.
>
>> I would guess that being a somewhat more serious distro
>> fedora 11 still asks you to enter the root password for the root
>> account during installation and the regular user account is not such
>> that it can execute root programs by entering the user password as is
>> the case in ubuntu.
>
> /sudo/ is not limited to Ubuntu. It is one of the many GNU tools packed
> in every modern GNU/Linux distribution. I don't really know whether
> Fedora sets up any user account with /sudo/ privileges by default, but
> it is trivial to do that.
>
> That said, Fedora does still permit a regular root login, yes, as do
> most other distributions. The Ubuntu, Kubuntu et al family are to my
> knowledge the only distributions that disable a direct root login by
> default, but every distribution allows you to set up the root account
> like that, just like all the *buntus allow you to set up the root
> account with a regular password so that you can log in as root.
>
> Do however note that even though the root account can be logged into in
> most distributions, most distributions will not permit you to log in as
> root via a graphical login manager for security reasons.
>
>> And I would guess fedora 11 still uses grub as the boot loader and
>> disk druid to manage the various partitions.
>
> I don't know about Disk Druid - it's been a long time since I've seen
> that tool, but installation of Fedora uses a graphical user interface
> called Anaconda, and it contains a (graphical) partitioning tool - I
> don't know what that tool is called, but it's there.
>
> As for GRUB, many if not most of the modern distributions use GRUB as
> the bootloader, but LILO is also still available in most, and is the
> original bootloader. The difference between the two of them is that
> GRUB accesses the kernel image via a filesystem driver that runs in the
> processor's real mode and that GRUB contains a special shell, while
> LILO does not use a filesystem driver, but instead hardcodes the
> logical block offset to the kernel image and loads it like that.
>
> LILO and GRUB are both very adequate and both have their advantages and
> disadvantages. GRUB is now the default in most distributions, but in
> the end, it is you who decides which of the two to use. They can both
> be used to boot GNU/Linux and DOS, OS/2 or Windows. GRUB can in
> addition also be used to boot other UNIX-style operating systems such
> as GNU/Hurd or Solaris.
>
>> Has fedora also done away with the /boot partition which quite nicely
>> should no longer be needed now that the bios can access all of the
>> hard disk and not only the first bit as other posters pointed out in
>> this thread.
>
> I'm afraid that you've got it all wrong here. Having a separate */boot*
> partition is not a bad thing at all. In fact, I always create a
> separate */boot* on my systems (among many more partitions).
>
> That said, I don't really know about Fedora, but considering that it's
> RedHat's "bleeding edge" version, I would expect it to be similar to
> RedHat and Fedora in that it encourages the user to, instead of having
> separate partitions for everything other than */boot,* rather make use
> of logical volumes, since they offer more flexibility, and if you are
> going to make use of logical volumes and also put the root filesystem
> on one such logical volume, then you need a separate */boot* partition
> (which is not on a logical volume) if you use GRUB as the bootloader,
> because logical volume management is an abstraction layer above the
> partitioning layer and GRUB doesn't have a driver for that. You have
> to keep in mind that GRUB is only a minimal environment that runs in
> the processor's real mode and that it is only a bootloader, not an
> operating system.


<Break & trimmed for brevity>


I am mainly using Fedora 10 now
but do also have a Fedora 11 installation


Since I am a bit of an experimenter...I don't mind playing with a
"bleeding edge" distribution.

I have run into a few bugs along the way.

I'd say that if one is looking less for a "bleeding edge" distribution...
but finds that Ubuntu is a bit too user-friendly...

just go straight to Debian...In my opinion quite excellent
>
Back to top
Login to vote
Nico Kadel-Garcia

External


Since: Nov 04, 2008
Posts: 41



(Msg. 11) Posted: Sat Aug 15, 2009 4:08 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 15, 1:41 pm, John Hasler <j... DeleteThis @dhh.gt.org> wrote:
> John Goche writes:
> > I am not sure I want to make the change to ubuntu despite ubuntu seems
> > to be the easier to use and most popular distribution these days.
>
> Why do you care about popularity?

Popularity means that support is more likely to be available, up-to-
date, and configuration of new tools likelier to be easier due to
familiar standards.


> > But when I opened an xterm or whatever it is called these days...
>
> Xterms are still xterms.  What you opened was one of the many clones
> thereof.

Not quite. xterm is still xterm: it's a specific package, with
specific behavior, part of X11, XFree86, and now Xorg.

There are many terminal applications: Fedora and RHEL, by default, use
a particular gnome based tool with a different control interface and
somewhat different features. However, much of the interface is from
the window manager: that's what keeps much of it consistent between
different applications.

> > Well, it's just that I'm not sure whether I would find any limitations
> > in ubuntu when compared to fedora.
>
> Anything you can do with one you can do with the other.  Both are Linux:
> the limitations are in you. not the OS.
>
> I think you'd be happier with Slackware, though.

John, integrating tools from third parties is often easier with up-to-
date Fedora than a less popular distribution such as Slackware. For
other tools, such as my recent adventures with Musicbrainz and Lilac,
Debian based distributions such as Ubuntu are easier because that's
what the authors worked from.
Back to top
Login to vote
John Hasler

External


Since: Jul 22, 2003
Posts: 103



(Msg. 12) Posted: Sat Aug 15, 2009 6:20 pm
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nico Kadel-Garcia writes:
> John, integrating tools from third parties is often easier with up-to-
> date Fedora than a less popular distribution such as Slackware. For
> other tools, such as my recent adventures with Musicbrainz and Lilac,
> Debian based distributions such as Ubuntu are easier because that's
> what the authors worked from.

Yes, but he strikes me as the sort who will get resentful when the
package manager manages his packages and the maintainers maintain them.
I think he'd fit in as a Slacker.
--
John Hasler
john.DeleteThis@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Back to top
Login to vote
Nick K

External


Since: Aug 16, 2009
Posts: 2



(Msg. 13) Posted: Sun Aug 16, 2009 7:34 am
Post subject: Re: Ubuntu installation questions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 15, 6:11 pm, Aragorn <arag....RemoveThis@chatfactory.invalid> wrote:

> Well, the output of /locate/ and /slocate/ depends on a cache that is
> created via /updatedb./  On systems that are installed on a hard
> disk, /updatedb/ is periodically run by /crond/ so as to have an update
> cache.  It is possible that this is not available in a live CD
> environment due to the read-only nature of that medium.

Well, on the ubuntu live update CD the "locate" command works out
of the box with no need to run any cron job in order for it to work.
However when I try to locate the latex executable I get:

ubuntu@ubuntu:~$ locate latex
/usr/bin/pod2latex
/usr/share/gedit-2/plugins/snippets/latex.xml
/usr/share/gtksourceview-1.0/language-specs/latex.lang
/usr/share/gtksourceview-2.0/language-specs/latex.lang
/usr/share/man/man1/pod2latex.1.gz
ubuntu@ubuntu:~$ latex
The program 'latex' is currently not installed. You can install it by
typing:
sudo apt-get install texlive-latex-base
bash: latex: command not found

Is texlive-latex-base a different distribution than the tetex
distribution of latex by Thomas Esser?

What is the difference between yum (for RPMs) and apt-get?

> Xterms are still xterms. What you opened was one of the many clones
> thereof.

Actually gnome systems have an executable called gnome-terminal
which is what I was using on ubuntu.

> If you want to know where an executable is located (or which version of
> the executable you would be invoking), then it is best to use /type,/
> like so...
>
>         type latex

I have never seen a command called "type" but I suspect it must be an
internal command to the bash shell. The command "which" seems to
do the same thing and also has its own man page. What is the
difference between using one or the other?

Also, my mouse pointer moves somewhat too fast when I move
it from my laptop touchpad. Is there a way to tune Xorg for this
so that I can get it to move a little bit slower?

Thanks,

John Goche
Back to top
Login to vote
Teemu Likonen

External


Since: Nov 09, 2008
Posts: 9



(Msg. 14) Posted: Sun Aug 16, 2009 11:20 am
Post subject: "which" and "type" (was: Ubuntu installation questions) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-08-16 07:34 (-0700), Nick K. wrote:

> On Aug 15, 6:11 pm, Aragorn <arag... DeleteThis @chatfactory.invalid> wrote:
>> If you want to know where an executable is located (or which version of
>> the executable you would be invoking), then it is best to use /type,/
>> like so...
>>
>>         type latex
>
> I have never seen a command called "type" but I suspect it must be an
> internal command to the bash shell. The command "which" seems to do
> the same thing and also has its own man page. What is the difference
> between using one or the other?

Yes, "type" is a Bash builtin but the commands are not the same. "which"
locates a command in $PATH. It searches only for executable files in the
filesystem. Bash's "type" returns the type of command:

$ type printf
printf is a shell builtin

$ which printf
/usr/bin/printf

If I execute

$ printf "foo\n"

it will use the shell builtin. So, if you need to know "what will be
executed when I run command X without explicit path" then you need to
check "type X". "type" can also tell if command is a shell function:

$ type quote
quote is a function
quote ()
{
echo \'${1//\'/\'\\\'\'}\'
}

For more info: "help type" in Bash.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Problems with fonts rendering under ubuntu feisty ?! - hello my laptop mount an ATI mobility radeon 9700 , my screen resolution is 1280x800 I trying to set the correct..

Using VMWare to boot linux patition. - Hi, I regularly switch between winxp pro and mandrake 10.2. Lately this has become a bit of a pain so I looked into..

The out-of-memory killer. - What can a process do to insure that it is the process which dies when the system runs out of memory. (This is as..

Questions about Ubuntu - Hi everybody, here are some questions for all candidates. They are related to the Debian-Ubuntu cooperation. (If you'r...

Some installation questions from newbie - Ok, Hi ! I'm going to install Fedora on my pc, and since that's quite like redhat I put my questions here.. First off,...

[gentoo-user] amd64 installation questions - Hello, I've been handed a new amd64 portable (HP-8000), which must keep XP on it. To perform an installation, I usuall...
       Soft32 Home -> Linux -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]