Just Got It

Mikael Nilsson mikael at nilsson.name
Tue Nov 20 01:52:48 CST 2007


mån 2007-11-19 klockan 17:40 -0500 skrev junk2 at cercy.net:
> I tried su'ing and sudo, but it asked me for a passwd, I've tried just
> hitting return, or entering ubuntu or dell, etc.
> Anyway I just tried the passwd for my user login, and it worked. I
> wouldn't have tried that on my own, not for a couple of hours anyway.
> Thanks.

In newer versions of sudo, it tells you what password it expects:

mini at daneel:~$ sudo ls
[sudo] password for mini:

I think this was introduced in 7.10 (Gutsy).

/Mikael


> 
> 
> > Ubuntu uses a different security scheme than many other distros.  In
> > others, as administrator, you would have the root password AND a
> > non-privileged user account with another password.  In Ubuntu, your
> > regular user account (and others as you choose) can be (and, by
> > default, is) made a member of the admin group.  Users who are members
> > of the admin group can gain root privileges through the use of the
> > "sudo" command and their own password.
> >
> > This can be done on a command-by-command basis such as:
> >
> > $ sudo fdisk -l
> > $ sudo fdisk /dev/sdx
> > $
> >
> > Or, (with the addition of "su -") it can be done for a session such as:
> >
> > $ sudo su -
> > # fdisk -l
> > # fdisk /dev/sdx
> > # exit
> > $
> >
> > Hope that helps...
> >
> > Scott Purcell
> >
> >
> > -----Original Message-----
> > From: linux-desktops-bounces at dell.com
> > [mailto:linux-desktops-bounces at dell.com] On Behalf Of junk2 at cercy.net
> > Sent: Monday, November 19, 2007 4:20 PM
> > To: linux-desktops
> > Subject: Just Got It
> >
> > I just got my dell with ubuntu preinstalled, but none of the paperworks
> > says what the root passwd is. I need to instal a few apps and get the
> > latest security updates.
> > Is there a faq for this list?
> >
> > Thanks.
> >
> > _______________________________________________
> > Linux-Desktops mailing list
> > Linux-Desktops at dell.com
> > http://lists.us.dell.com/mailman/listinfo/linux-desktops
> > Please read the FAQ at http://lists.us.dell.com/faq
> 
> 
> _______________________________________________
> Linux-Desktops mailing list
> Linux-Desktops at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-desktops
> Please read the FAQ at http://lists.us.dell.com/faq
> 
-- 
<mikael at nilsson.name>

Plus ça change, plus c'est la même chose



More information about the Linux-Desktops mailing list