Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #165626 > unrolled thread
| Started by | Frank Jones <sandyman45@sky.com> |
|---|---|
| First post | 2016-03-19 17:40 +0100 |
| Last post | 2016-03-21 12:00 +0100 |
| Articles | 20 on this page of 40 — 24 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Sudo Frank Jones <sandyman45@sky.com> - 2016-03-19 17:40 +0100
Re: Sudo humbert.olivier.1@free.fr - 2016-03-19 17:50 +0100
Re: Sudo Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-19 18:10 +0100
Re: Sudo doug <dmcgarrett@optonline.net> - 2016-03-19 18:40 +0100
Re: Sudo John Hasler <jhasler@newsguy.com> - 2016-03-19 18:50 +0100
Re: Sudo Keith Bainbridge <keithrbaugroups@gmail.com> - 2016-03-20 06:10 +0100
Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-03-20 09:30 +0100
Re: Sudo Dan Ritter <dsr@randomstring.org> - 2016-03-20 16:30 +0100
Re: Sudo Joe <joe@jretrading.com> - 2016-03-19 19:40 +0100
Re: Sudo Sven Arvidsson <sa@whiz.se> - 2016-03-19 20:10 +0100
Re: Sudo Joe <joe@jretrading.com> - 2016-03-19 20:40 +0100
Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-03-20 09:30 +0100
Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-03-21 05:40 +0100
Re: Sudo Wolf Halton <wolf.halton@gmail.com> - 2016-03-21 06:30 +0100
Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-03-21 17:10 +0100
Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-21 18:00 +0100
Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 22:30 +0100
Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 09:50 +0100
Re: Sudo <tomas@tuxteam.de> - 2016-03-21 10:20 +0100
Re: Sudo Richard Hector <richard@walnut.gen.nz> - 2016-03-21 22:40 +0100
Re: Sudo <tomas@tuxteam.de> - 2016-03-22 09:00 +0100
Re: Sudo Thomas D Dial <tdial@cox.net> - 2016-03-24 03:00 +0100
Re: Sudo Stefan Monnier <monnier@iro.umontreal.ca> - 2016-03-24 14:50 +0100
Re: Sudo David Wright <deblis@lionunicorn.co.uk> - 2016-03-24 15:50 +0100
Re: Sudo Stefan Monnier <monnier@iro.umontreal.ca> - 2016-03-24 16:20 +0100
Re: Sudo David Wright <deblis@lionunicorn.co.uk> - 2016-03-25 06:00 +0100
Re: Sudo Curt <curty@free.fr> - 2016-03-25 11:30 +0100
Re: Sudo Adam Wilson <moxalt@riseup.net> - 2016-04-03 20:40 +0200
Re: Sudo Michael Milliman <michael.e.milliman@gmail.com> - 2016-04-04 16:00 +0200
Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-19 18:20 +0100
Re: Sudo John Hasler <jhasler@newsguy.com> - 2016-03-19 18:40 +0100
Re: Sudo Gene Heskett <gheskett@shentel.net> - 2016-03-19 19:50 +0100
Re: Sudo <tomas@tuxteam.de> - 2016-03-19 22:50 +0100
Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-20 01:30 +0100
Re: Sudo Ric Moore <wayward4now@gmail.com> - 2016-03-20 01:50 +0100
Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-20 02:00 +0100
Re: Sudo Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-03-20 02:40 +0100
Re: Sudo Jude DaShiell <jdashiel@panix.com> - 2016-03-21 06:00 +0100
Re: Sudo Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-21 11:00 +0100
Re: Sudo shawn wilson <ag4ve.us@gmail.com> - 2016-03-21 12:00 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2016-03-22 09:00 +0100 |
| Message-ID | <rfpom-1iE-17@gated-at.bofh.it> |
| In reply to | #165797 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Mar 22, 2016 at 10:32:57AM +1300, Richard Hector wrote: > On 21/03/16 21:35, tomas@tuxteam.de wrote: [...] > > depending on your preferences. It's all in the manpage :) > > It is indeed - thanks :-) I try and remember such things, but it's > harder when the old way works fine as well :-) That's the way it is with most of us, I think. That said, I do appreciate being prodded from time to time, that's why I try to offer this service to others as well :-) regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbw8ssACgkQBcgs9XrR2kaL5ACfR+HXJ1ewt1rPwLLIT4YGzgbm gr0AnRnID+t4p4nKOdpo7Q+tVgMwHoP2 =VN0n -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Thomas D Dial <tdial@cox.net> |
|---|---|
| Date | 2016-03-24 03:00 +0100 |
| Message-ID | <rg2J5-3GP-7@gated-at.bofh.it> |
| In reply to | #165744 |
On 03/20/2016 10:30 PM, Michael Milliman wrote: > On 03/20/2016 03:26 AM, Adam Wilson wrote: >> On Sat, 19 Mar 2016 19:30:57 +0000 >> Joe <joe@jretrading.com> wrote: >> >>> On Sat, 19 Mar 2016 19:57:56 +0100 >>> Sven Arvidsson <sa@whiz.se> wrote: >>> >>>> On Sat, 2016-03-19 at 18:38 +0000, Joe wrote: >>>>> I've never seen sudo installed by default in any Debian, and I >>>>> begin with expert minimal netinstalls of stable, and I've never >>>>> seen it offered as an option there. My first two actions on >>>>> reboot are to install sudo and mc. >>>> By default you are asked to provide a password for the “root” >>>> (administrator) account and information necessary to create one >>>> regular user account. If you do not specify a password for the >>>> “root” user this account will be disabled but the sudo package >>>> will be installed later to enable administrative tasks to be carried >>>> out on the new system. >>>> >>>> From https://www.debian.org/releases/stable/amd64/apas03.html.en >>>> >>>> >>> OK, I didn't know that. >>> >> When you carry out a net install (or any installation, in fact) if you >> decline to provide a root password then sudo is automatically installed >> and configured for you, with the first user you create able to become >> root with sudo. >> >> This is all explained in the installer at the root password stage- >> there is no need to install sudo manually post-installation. >> >> If you want sudo, just don't provide a root password in the >> installation. > On the other hand, I use both su and sudo. If I have a protracted > session with several different tasks that I need to complete all > requiring root access I su to the root user. If on the other hand, I > only need to perform a single command, or so, I use sudo. Both have > their uses, though as already noted, Debian generally does one or the > other as a default. I install with a root password, and then bring in > the sudo package post-installation. > Or simply "sudo bash --login" I haven't needed to use root login for years, including on Ubuntu systems on which, as far as I can tell, no direct root login is available. Tom Dial
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-03-24 14:50 +0100 |
| Message-ID | <rgdOa-3jF-11@gated-at.bofh.it> |
| In reply to | #165888 |
> Or simply "sudo bash --login"
> I haven't needed to use root login for years,
In which sense is this not a "root login"?
Or would "su -" not be considered a root login either?
What about "ssh root@localhost"?
Stefan
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2016-03-24 15:50 +0100 |
| Message-ID | <rgeKf-3Y1-51@gated-at.bofh.it> |
| In reply to | #165908 |
On Thu 24 Mar 2016 at 09:42:51 (-0400), Stefan Monnier wrote: > > Or simply "sudo bash --login" > > I haven't needed to use root login for years, > > In which sense is this not a "root login"? You don't log in. You don't get the shell specified in /etc/passwd. You're just running bash as a login shell, ie it starts up differently. > Or would "su -" not be considered a root login either? No. > What about "ssh root@localhost"? Yes. Type w and you'll see the time at which you just logged in. Try all these methods as an ordinary user. Then touch /etc/nologin and try them again. Shells work, logins don't. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-03-24 16:20 +0100 |
| Message-ID | <rgfdg-4ss-25@gated-at.bofh.it> |
| In reply to | #165910 |
> Yes. Type w and you'll see the time at which you just logged in.
That seems to me like a completely unimportant detail, with little to
no consequence. When compared to the consequences of having a shell
with uid==0 this seems like nitpicking.
So, it confirms my suspicion that "root login" is used to refer to
a distinction that is pretty much irrelevant (tho I guess there is the
fact the root access occurs via some other local user, so you get
a tiny little bit of a trace).
Stefan "who usually uses `su -` but thinks of it as a `root login`"
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2016-03-25 06:00 +0100 |
| Message-ID | <rgs0O-4Rj-11@gated-at.bofh.it> |
| In reply to | #165912 |
On Thu 24 Mar 2016 at 11:15:35 (-0400), Stefan Monnier wrote: > > Yes. Type w and you'll see the time at which you just logged in. > > That seems to me like a completely unimportant detail, with little to > no consequence. When compared to the consequences of having a shell > with uid==0 this seems like nitpicking. > > So, it confirms my suspicion that "root login" is used to refer to > a distinction that is pretty much irrelevant (tho I guess there is the > fact the root access occurs via some other local user, so you get > a tiny little bit of a trace). > > Stefan "who usually uses `su -` but thinks of it as a `root login`" Whether the distinction is important to you or not doesn't change the meaning of the words themselves. Besides, I didn't think there were any unimportant details when dealing with security. "Sloppy usage usually implies, and certainly encourages, sloppy thinking." (CJ Date) Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2016-03-25 11:30 +0100 |
| Message-ID | <rgxaa-ei-7@gated-at.bofh.it> |
| In reply to | #165912 |
On 2016-03-24, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
> So, it confirms my suspicion that "root login" is used to refer to
> a distinction that is pretty much irrelevant (tho I guess there is the
> fact the root access occurs via some other local user, so you get
> a tiny little bit of a trace).
>
http://www.linfo.org/root.html
A critical means for preventing users from directly damaging Unix-like systems
or increasing the vulnerability of such systems to damage by others is the
avoidance of using the root account except when absolutely necessary, even by
knowledgeable and experienced system administrators. That is, rather than
routinely logging into the system as root, administrators should log in with
their ordinary user accounts and then use commands, such as su, kdesu and sudo,
that provide them with root privileges only as needed and without requiring a
new login.
For example, to become root with su merely requires typing
su
at the command line (i.e., in the all-text mode), pressing the Enter key and
supplying the root password. The account of the previous user can be returned
to by pressing the Ctrl and d keys simultaneously or by typing the word exit
and then pressing the Enter key.
> Stefan "who usually uses `su -` but thinks of it as a `root login`"
>
>
--
Hypertext--or should I say the ideology of hypertext?--is ultrademocratic and
so entirely in harmony with the demagogic appeals to cultural democracy that
accompany (and distract one’s attention from) the ever-tightening grip of
plutocratic capitalism. - Susan Sontag
[toc] | [prev] | [next] | [standalone]
| From | Adam Wilson <moxalt@riseup.net> |
|---|---|
| Date | 2016-04-03 20:40 +0200 |
| Message-ID | <rjV6h-7CH-1@gated-at.bofh.it> |
| In reply to | #165744 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, 20 Mar 2016 23:30:03 -0500 Michael Milliman <michael.e.milliman@gmail.com> wrote: > > > On 03/20/2016 03:26 AM, Adam Wilson wrote: > > On Sat, 19 Mar 2016 19:30:57 +0000 > > Joe <joe@jretrading.com> wrote: > > > >> On Sat, 19 Mar 2016 19:57:56 +0100 > >> Sven Arvidsson <sa@whiz.se> wrote: > >> > >>> On Sat, 2016-03-19 at 18:38 +0000, Joe wrote: > >>>> I've never seen sudo installed by default in any Debian, and I > >>>> begin with expert minimal netinstalls of stable, and I've never > >>>> seen it offered as an option there. My first two actions on > >>>> reboot are to install sudo and mc. > >>> By default you are asked to provide a password for the “root” > >>> (administrator) account and information necessary to create > >>> one regular user account. If you do not specify a password for the > >>> “root” user this account will be disabled but the sudo > >>> package will be installed later to enable administrative tasks to > >>> be carried out on the new system. > >>> > >>> From https://www.debian.org/releases/stable/amd64/apas03.html.en > >>> > >>> > >> OK, I didn't know that. > >> > > When you carry out a net install (or any installation, in fact) if > > you decline to provide a root password then sudo is automatically > > installed and configured for you, with the first user you create > > able to become root with sudo. > > > > This is all explained in the installer at the root password stage- > > there is no need to install sudo manually post-installation. > > > > If you want sudo, just don't provide a root password in the > > installation. > On the other hand, I use both su and sudo. If I have a protracted > session with several different tasks that I need to complete all > requiring root access I su to the root user. If on the other hand, I > only need to perform a single command, or so, I use sudo. Both have > their uses, though as already noted, Debian generally does one or the > other as a default. I install with a root password, and then bring > in the sudo package post-installation. > What's wrong with sudo su?
[toc] | [prev] | [next] | [standalone]
| From | Michael Milliman <michael.e.milliman@gmail.com> |
|---|---|
| Date | 2016-04-04 16:00 +0200 |
| Message-ID | <rkdcT-3MD-41@gated-at.bofh.it> |
| In reply to | #166288 |
On 04/03/2016 01:33 PM, Adam Wilson wrote: > On Sun, 20 Mar 2016 23:30:03 -0500 > Michael Milliman <michael.e.milliman@gmail.com> wrote: > >> >> On 03/20/2016 03:26 AM, Adam Wilson wrote: >>> On Sat, 19 Mar 2016 19:30:57 +0000 >>> Joe <joe@jretrading.com> wrote: >>> >>>> On Sat, 19 Mar 2016 19:57:56 +0100 >>>> Sven Arvidsson <sa@whiz.se> wrote: >>>> >>>>> On Sat, 2016-03-19 at 18:38 +0000, Joe wrote: >>>>>> I've never seen sudo installed by default in any Debian, and I >>>>>> begin with expert minimal netinstalls of stable, and I've never >>>>>> seen it offered as an option there. My first two actions on >>>>>> reboot are to install sudo and mc. >>>>> By default you are asked to provide a password for the “root” >>>>> (administrator) account and information necessary to create >>>>> one regular user account. If you do not specify a password for the >>>>> “root” user this account will be disabled but the sudo >>>>> package will be installed later to enable administrative tasks to >>>>> be carried out on the new system. >>>>> >>>>> From https://www.debian.org/releases/stable/amd64/apas03.html.en >>>>> >>>>> >>>> OK, I didn't know that. >>>> >>> When you carry out a net install (or any installation, in fact) if >>> you decline to provide a root password then sudo is automatically >>> installed and configured for you, with the first user you create >>> able to become root with sudo. >>> >>> This is all explained in the installer at the root password stage- >>> there is no need to install sudo manually post-installation. >>> >>> If you want sudo, just don't provide a root password in the >>> installation. >> On the other hand, I use both su and sudo. If I have a protracted >> session with several different tasks that I need to complete all >> requiring root access I su to the root user. If on the other hand, I >> only need to perform a single command, or so, I use sudo. Both have >> their uses, though as already noted, Debian generally does one or the >> other as a default. I install with a root password, and then bring >> in the sudo package post-installation. >> > What's wrong with sudo su? Probably nothing wrong with it, but sudo -i works for access to root user. sudo su seems kind of redundant to me. -- Mike
[toc] | [prev] | [next] | [standalone]
| From | Charlie Kravetz <cjk@teamcharliesangels.com> |
|---|---|
| Date | 2016-03-19 18:20 +0100 |
| Message-ID | <resHD-2Ra-3@gated-at.bofh.it> |
| In reply to | #165626 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 19 Mar 2016 16:15:01 +0000 (UTC) Frank Jones <sandyman45@sky.com> wrote: >I have only been using Linux for a short time why cant I use SUDO on theterminal with Debian I use it with Linu Mint. Linux Mint does not install a root user. It installs Sudo instead. In Debian, if you did not tell it leave it blank, you installed a root user password. That created the root user. The command used instead of "sudo" is "su" in terminal. Instead of "sudo -i" or "sudo -s", use "su - -l". Of course, these are without quotes. - -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJW7YKrAAoJEIqui46mydCAU7QH/jo5Ll1A/dLsx6ep/680RZjN PS4rbtmplzYmnkxseZquK3qESaxjQjSZ/2AarXO3VjvTnqWZcd8vay9HiH1AXptN VoXJTdLLlRPv120lhGK4mmt8oYWgoka3hwTq6iTGS790aDhB3s8nQvGXV73KiYTf 6pY28Lo7UDRe9fOtewv781OoC/MypuLTNY0U9PGmWyG+8EmYYFPkduXvFDPOkZrh DPgaKH5ETVx7v7Fb79s0r0siNhlv6+jF14R9ZFj/XO4Q4B+ifoU9hZHQ1Acwc70b TyzIWjocxrpuoUddK3Bma8hJMnm7+gd1Mk5m4dVX0HuheHtKPTvP7lxRkfYoYWc= =U1K3 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Date | 2016-03-19 18:40 +0100 |
| Message-ID | <ret10-309-13@gated-at.bofh.it> |
| In reply to | #165626 |
Install the sudo package. -- John Hasler jhasler@newsguy.com Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2016-03-19 19:50 +0100 |
| Message-ID | <reu6J-3HX-1@gated-at.bofh.it> |
| In reply to | #165626 |
On Saturday 19 March 2016 12:15:01 Frank Jones wrote: > I have only been using Linux for a short time why cant I use SUDO on > theterminal with Debian I use it with Linu Mint. Are you first user? s/b #1000 I believe. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2016-03-19 22:50 +0100 |
| Message-ID | <rewUW-5ER-27@gated-at.bofh.it> |
| In reply to | #165626 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Mar 19, 2016 at 04:15:01PM +0000, Frank Jones wrote: > I have only been using Linux for a short time why cant I use SUDO on theterminal with Debian I use it with Linu Mint. Possibly you have to add yourself to the sudoers file: it's in /etc/sudoers -- best edit it (as root) with visudo. Make sure there is an entry (perhaps there is one) like %sudo ALL=(ALL:ALL) ALL (that means that users belonging to the sudo group may do everything can do; you can refine permissions if you want) Then add yourself to the sudo group. As root, do adduser <yourself> sudo You'll need to login again for the changes to take effect. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbtwOoACgkQBcgs9XrR2kYkKACeJtrFBGS35xR2WfVw70/DxXkS ZFgAn0tqPSzyKobLictieil+6fWaDKh6 =Fnx4 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Lisi Reisz <lisi.reisz@gmail.com> |
|---|---|
| Date | 2016-03-20 01:30 +0100 |
| Message-ID | <rezpL-7uV-1@gated-at.bofh.it> |
| In reply to | #165643 |
On Saturday 19 March 2016 21:13:14 tomas@tuxteam.de wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, Mar 19, 2016 at 04:15:01PM +0000, Frank Jones wrote: > > I have only been using Linux for a short time why cant I use SUDO on > > theterminal with Debian I use it with Linu Mint. > > Possibly you have to add yourself to the sudoers file: it's in > /etc/sudoers -- best edit it (as root) with visudo. > > Make sure there is an entry (perhaps there is one) like > > %sudo ALL=(ALL:ALL) ALL > > (that means that users belonging to the sudo group may do everything > can do; you can refine permissions if you want) > > Then add yourself to the sudo group. As root, do > > adduser <yourself> sudo > > You'll need to login again for the changes to take effect. The OP probably didn't install sudo. Lisi
[toc] | [prev] | [next] | [standalone]
| From | Ric Moore <wayward4now@gmail.com> |
|---|---|
| Date | 2016-03-20 01:50 +0100 |
| Message-ID | <rezJ8-7BA-9@gated-at.bofh.it> |
| In reply to | #165646 |
On 03/19/2016 08:22 PM, Lisi Reisz wrote: > On Saturday 19 March 2016 21:13:14 tomas@tuxteam.de wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On Sat, Mar 19, 2016 at 04:15:01PM +0000, Frank Jones wrote: >>> I have only been using Linux for a short time why cant I use SUDO on >>> theterminal with Debian I use it with Linu Mint. >> >> Possibly you have to add yourself to the sudoers file: it's in >> /etc/sudoers -- best edit it (as root) with visudo. >> >> Make sure there is an entry (perhaps there is one) like >> >> %sudo ALL=(ALL:ALL) ALL or # User privilege specification root ALL=(ALL:ALL) ALL ric ALL=(ALL:ALL) ALL Note only root and user5 ric has permissions to sudo >> >> (that means that users belonging to the sudo group may do everything >> can do; you can refine permissions if you want) >> >> Then add yourself to the sudo group. As root, do >> >> adduser <yourself> sudo >> >> You'll need to login again for the changes to take effect. > > The OP probably didn't install sudo. Heh, that will help immensely! Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. http://linuxcounter.net/user/44256.html
[toc] | [prev] | [next] | [standalone]
| From | Lisi Reisz <lisi.reisz@gmail.com> |
|---|---|
| Date | 2016-03-20 02:00 +0100 |
| Message-ID | <rezSO-7EP-7@gated-at.bofh.it> |
| In reply to | #165648 |
On Sunday 20 March 2016 00:40:52 Ric Moore wrote: > On 03/19/2016 08:22 PM, Lisi Reisz wrote: > > On Saturday 19 March 2016 21:13:14 tomas@tuxteam.de wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> On Sat, Mar 19, 2016 at 04:15:01PM +0000, Frank Jones wrote: > >>> I have only been using Linux for a short time why cant I use SUDO on > >>> theterminal with Debian I use it with Linu Mint. > >> > >> Possibly you have to add yourself to the sudoers file: it's in > >> /etc/sudoers -- best edit it (as root) with visudo. > >> > >> Make sure there is an entry (perhaps there is one) like > >> > >> %sudo ALL=(ALL:ALL) ALL > > or > > # User privilege specification > root ALL=(ALL:ALL) ALL > ric ALL=(ALL:ALL) ALL > > Note only root and user5 ric has permissions to sudo > > >> (that means that users belonging to the sudo group may do everything > >> can do; you can refine permissions if you want) > >> > >> Then add yourself to the sudo group. As root, do > >> > >> adduser <yourself> sudo > >> > >> You'll need to login again for the changes to take effect. > > > > The OP probably didn't install sudo. > > Heh, that will help immensely! Ric It might suggest that there is no point in telling him/her how to use it, or what group to add him/herself to, until the previous advice to install it has been followed. :-/ Lisi
[toc] | [prev] | [next] | [standalone]
| From | Charlie Kravetz <cjk@teamcharliesangels.com> |
|---|---|
| Date | 2016-03-20 02:40 +0100 |
| Message-ID | <reAvv-89g-9@gated-at.bofh.it> |
| In reply to | #165649 |
On Sun, 20 Mar 2016 00:52:23 +0000 Lisi Reisz <lisi.reisz@gmail.com> wrote: >On Sunday 20 March 2016 00:40:52 Ric Moore wrote: >> On 03/19/2016 08:22 PM, Lisi Reisz wrote: >> > On Saturday 19 March 2016 21:13:14 tomas@tuxteam.de wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> >> Hash: SHA1 >> >> >> >> On Sat, Mar 19, 2016 at 04:15:01PM +0000, Frank Jones wrote: >> >>> I have only been using Linux for a short time why cant I use SUDO on >> >>> theterminal with Debian I use it with Linu Mint. >> >> >> >> Possibly you have to add yourself to the sudoers file: it's in >> >> /etc/sudoers -- best edit it (as root) with visudo. >> >> >> >> Make sure there is an entry (perhaps there is one) like >> >> >> >> %sudo ALL=(ALL:ALL) ALL >> >> or >> >> # User privilege specification >> root ALL=(ALL:ALL) ALL >> ric ALL=(ALL:ALL) ALL >> >> Note only root and user5 ric has permissions to sudo >> >> >> (that means that users belonging to the sudo group may do everything >> >> can do; you can refine permissions if you want) >> >> >> >> Then add yourself to the sudo group. As root, do >> >> >> >> adduser <yourself> sudo >> >> >> >> You'll need to login again for the changes to take effect. >> > >> > The OP probably didn't install sudo. >> >> Heh, that will help immensely! Ric > >It might suggest that there is no point in telling him/her how to use it, or >what group to add him/herself to, until the previous advice to install it has >been followed. :-/ > >Lisi > My guess would be he doesn't know how to use su to install sudo. The advice to install as root fails when one has never had to use su. -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com]
[toc] | [prev] | [next] | [standalone]
| From | Jude DaShiell <jdashiel@panix.com> |
|---|---|
| Date | 2016-03-21 06:00 +0100 |
| Message-ID | <rf06B-Ay-1@gated-at.bofh.it> |
| In reply to | #165626 |
Because in Debian you're probably not mentioned in /etc/sudoers. If your user account were frank, going to root using su you could do something like: echo 'frank ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers <enter>. then type exit to get back to the frank account and type: sudo -H -i <enter> and see what happens. When you installed LinuMint I'm going to make a wag here and figure you didn't put a password in for root and because of that LinuMint put your user account in /etc/sudoers as part of its installation routine. On Sat, 19 Mar 2016, Frank Jones wrote: > Date: Sat, 19 Mar 2016 12:15:01 > From: Frank Jones <sandyman45@sky.com> > To: "debian-user@lists.debian.org" <debian-user@lists.debian.org> > Subject: Sudo > Resent-Date: Sat, 19 Mar 2016 16:33:09 +0000 (UTC) > Resent-From: debian-user@lists.debian.org > > I have only been using Linux for a short time why cant I use SUDO on theterminal with Debian I use it with Linu Mint. > --
[toc] | [prev] | [next] | [standalone]
| From | Lisi Reisz <lisi.reisz@gmail.com> |
|---|---|
| Date | 2016-03-21 11:00 +0100 |
| Message-ID | <rf4MW-3JE-13@gated-at.bofh.it> |
| In reply to | #165746 |
On Monday 21 March 2016 04:51:35 Jude DaShiell wrote: > When you installed LinuMint I'm going to make a wag here and figure you > didn't put a password in for root and because of that LinuMint put your > user account in /etc/sudoers as part of its installation routine. I don't think that Linux Mint offers a root account during installation. It doesn't use root by default. Lisi
[toc] | [prev] | [next] | [standalone]
| From | shawn wilson <ag4ve.us@gmail.com> |
|---|---|
| Date | 2016-03-21 12:00 +0100 |
| Message-ID | <rf5J1-4pj-21@gated-at.bofh.it> |
| In reply to | #165760 |
[Multipart message — attachments visible in raw view] — view raw
On Mar 21, 2016 5:56 AM, "Lisi Reisz" <lisi.reisz@gmail.com> wrote: > > On Monday 21 March 2016 04:51:35 Jude DaShiell wrote: > > When you installed LinuMint I'm going to make a wag here and figure you > > didn't put a password in for root and because of that LinuMint put your > > user account in /etc/sudoers as part of its installation routine. > > I don't think that Linux Mint offers a root account during installation. It > doesn't use root by default. > Uh it kinda has to. AFAIK, the kernel doesn't allow ring 0 without being uid 0 / gid 0 (or root). Call the user "mud" if you want, at that point it doesn't really matter.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web