Re: Sudo but no su -

2018-04-28 Thread Tom H
On Sat, Apr 28, 2018 at 10:21 AM, D wrote: > On Sat, 28 Apr 2018 06:15:08 -0400 Tom H wrote: >> On Fri, Apr 27, 2018 at 5:41 PM, Samuel Sieb wrote: >>> On 04/27/2018 07:26 AM, D wrote: On Fri, 27 Apr 2018 08:22:12 -0400 Tom H

Re: Sudo but no su -

2018-04-28 Thread Todd Zullinger
D wrote: > On Sat, 28 Apr 2018 06:15:08 -0400 > Tom H wrote: > >> On Fri, Apr 27, 2018 at 5:41 PM, Samuel Sieb wrote: >>> On 04/27/2018 07:26 AM, D wrote: On Fri, 27 Apr 2018 08:22:12 -0400 Tom H wrote: > > sudo -s

Re: Sudo but no su -

2018-04-28 Thread D
On Sat, 28 Apr 2018 06:15:08 -0400 Tom H wrote: > On Fri, Apr 27, 2018 at 5:41 PM, Samuel Sieb wrote: > > On 04/27/2018 07:26 AM, D wrote: > >> On Fri, 27 Apr 2018 08:22:12 -0400 > >> Tom H wrote: > >>> > >>> sudo -s > >>> sudo su >

Re: Sudo but no su -

2018-04-28 Thread Tom H
On Fri, Apr 27, 2018 at 5:41 PM, Samuel Sieb wrote: > On 04/27/2018 07:26 AM, D wrote: >> On Fri, 27 Apr 2018 08:22:12 -0400 >> Tom H wrote: >>> >>> sudo -s >>> sudo su >>> sudo su -l >>> sudo sh >>> sudo sh -l >>> sudo bash -l >>> ... >> >> None of the sudo

Re: Sudo but no su -

2018-04-28 Thread Tom H
On Fri, Apr 27, 2018 at 5:40 PM, Samuel Sieb wrote: > On 04/27/2018 05:13 AM, Tom H wrote: >> On Thu, Apr 26, 2018 at 4:14 PM, Samuel Sieb wrote: >>> >>> I suppose that's true, but in that case, there's probably a larger issue >>> involved and you'll likely need

Re: Sudo but no su -

2018-04-27 Thread Samuel Sieb
On 04/27/2018 07:26 AM, D wrote: On Fri, 27 Apr 2018 08:22:12 -0400 Tom H wrote: sudo -s sudo su sudo su -l sudo sh sudo sh -l sudo bash -l ... None of the sudo commands listed allow you to run a graphical program ie. meld. Is there some way to do that? Wayland does not

Re: Sudo but no su -

2018-04-27 Thread Samuel Sieb
On 04/27/2018 05:13 AM, Tom H wrote: On Thu, Apr 26, 2018 at 4:14 PM, Samuel Sieb wrote: I suppose that's true, but in that case, there's probably a larger issue involved and you'll likely need a live boot of some sort anyway. There is one case where this does become a

Re: Sudo but no su -

2018-04-27 Thread Dave Stevens
On Fri, 27 Apr 2018 10:24:36 -0700 Rick Stevens wrote: > On 04/26/2018 07:50 PM, Dave Stevens wrote: > > On Thu, 26 Apr 2018 18:56:22 -0700 > > Rick Stevens wrote: > > > >> and utterly awesome and loveable) self. > > > > what?? what??? > >

Re: Sudo but no su -

2018-04-27 Thread Tom H
On Fri, Apr 27, 2018 at 10:26 AM, D wrote: > On Fri, 27 Apr 2018 08:22:12 -0400 > Tom H wrote: >> On Fri, Apr 27, 2018 at 5:03 AM, Bob Marcan wrote: >>> On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb wrote:

Re: Sudo but no su -

2018-04-27 Thread Rick Stevens
On 04/27/2018 07:26 AM, D wrote: > On Fri, 27 Apr 2018 08:22:12 -0400 > Tom H wrote: > >> On Fri, Apr 27, 2018 at 5:03 AM, Bob Marcan wrote: >>> On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb wrote: On 04/26/2018 01:03 PM, Joe

Re: Sudo but no su -

2018-04-27 Thread Rick Stevens
On 04/26/2018 07:50 PM, Dave Stevens wrote: > On Thu, 26 Apr 2018 18:56:22 -0700 > Rick Stevens wrote: > >> and utterly awesome and loveable) self. > > what?? what??? Are you saying I'm not awesome and lovable (despite my misspelling)? That kind of hurts (insert pouty

Re: Sudo but no su -

2018-04-27 Thread D
On Fri, 27 Apr 2018 08:22:12 -0400 Tom H wrote: > On Fri, Apr 27, 2018 at 5:03 AM, Bob Marcan wrote: > > On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb wrote: > >> On 04/26/2018 01:03 PM, Joe Zeff wrote: > >>> On 04/26/2018 12:54

Re: Sudo but no su -

2018-04-27 Thread Tom H
On Fri, Apr 27, 2018 at 5:03 AM, Bob Marcan wrote: > On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb wrote: >> On 04/26/2018 01:03 PM, Joe Zeff wrote: >>> On 04/26/2018 12:54 PM, Samuel Sieb wrote: I'm curious what you find you need to use a root

Re: Sudo but no su -

2018-04-27 Thread Tom H
On Thu, Apr 26, 2018 at 4:14 PM, Samuel Sieb wrote: > On 04/26/2018 01:00 PM, Joe Zeff wrote: >> On 04/26/2018 12:14 PM, stan wrote: >>> >>> Good to know that it will always be there. Habit for me is to use root >>> and su instead of sudo. old dog - new tricks :-) >> >> Same

Re: Sudo but no su -

2018-04-27 Thread Tom H
On Thu, Apr 26, 2018 at 4:00 PM, Joe Zeff wrote: > On 04/26/2018 12:14 PM, stan wrote: >> >> Good to know that it will always be there. Habit for me is to use >> root and su instead of sudo. old dog - new tricks :-) > > Same here. If I ever had to work with Ubuntu, one of the first

Re: Sudo but no su -

2018-04-27 Thread Tom H
On Thu, Apr 26, 2018 at 1:25 PM, stan wrote: > I think I remember reading that there will be no default root account > after install of F28 or later. For Fedora 28 Workstation. > Again, I think I remember the workaround was to use sudo, and then > create a root

Re: Sudo but no su -

2018-04-27 Thread AV
On Thu, 2018-04-26 at 14:25 -0400, Matthew Miller wrote: > On Thu, Apr 26, 2018 at 01:03:58PM -0400, Bob Goodwin wrote: > > I installed Virtual Manager in this Fedora 27 workstation system > > and > > created afedora 28 beta installation and was surprised to find I > > haveonly user bobg, no root

Re: Sudo but no su -

2018-04-27 Thread Bob Marcan
On Thu, 26 Apr 2018 13:09:43 -0700 Samuel Sieb wrote: > On 04/26/2018 01:03 PM, Joe Zeff wrote: > > On 04/26/2018 12:54 PM, Samuel Sieb wrote: > >> I'm curious what you find you need to use a root login for. > > > If I need to do more than one or two things as root, it's

Re: Sudo but no su -

2018-04-26 Thread Chris Murphy
For what it's worth, systemd emergency/rescue target only accept a root login. Apparently it's complicated getting it to use a user in wheel. Anyway I add two boot parameters as a workaround rather than permanently enabling root. 1 systemd.debug-shell=1 tty9 will have a root shell, no password.

Re: Sudo but no su -

2018-04-26 Thread Ed Greshko
On 04/27/18 11:15, Samuel Sieb wrote: > On 04/26/2018 05:44 PM, Ed Greshko wrote: >> FWIW, I never have the need to login as root from the graphical interface.  >> But I do, >> at times, have the need to issue a series of commands from the command line >> as root. >> In those cases sudo is

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 05:44 PM, Ed Greshko wrote: FWIW, I never have the need to login as root from the graphical interface.  But I do, at times, have the need to issue a series of commands from the command line as root. In those cases sudo is cumbersome.  So, I will use "su -".   So, no matter what

Re: Sudo but no su -

2018-04-26 Thread Dave Stevens
On Thu, 26 Apr 2018 18:56:22 -0700 Rick Stevens wrote: > and utterly awesome and loveable) self. what?? what??? -- In modern fantasy (literary or governmental), killing people is the usual solution to the so-called war between good and evil. My books are not conceived in

Re: Sudo but no su -

2018-04-26 Thread Rick Stevens
On 04/26/2018 05:44 PM, Ed Greshko wrote: > On 04/27/18 08:29, Rick Stevens wrote: >> On 04/26/2018 12:54 PM, Samuel Sieb wrote: >>> On 04/26/2018 12:14 PM, stan wrote: On Thu, 26 Apr 2018 11:05:28 -0700 Samuel Sieb wrote: > I think the majority opinion now is that

Re: Sudo but no su -

2018-04-26 Thread Ed Greshko
On 04/27/18 08:29, Rick Stevens wrote: > On 04/26/2018 12:54 PM, Samuel Sieb wrote: >> On 04/26/2018 12:14 PM, stan wrote: >>> On Thu, 26 Apr 2018 11:05:28 -0700 >>> Samuel Sieb wrote: I think the majority opinion now is that logging in as the root user is discouraged. 

Re: Sudo but no su -

2018-04-26 Thread Rick Stevens
On 04/26/2018 12:54 PM, Samuel Sieb wrote: > On 04/26/2018 12:14 PM, stan wrote: >> On Thu, 26 Apr 2018 11:05:28 -0700 >> Samuel Sieb wrote: >>> I think the majority opinion now is that logging in as the root user >>> is discouraged.  In almost all cases sudo is sufficient and if

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 01:36 PM, Andre Robatino wrote: On 04/26/2018 12:14 PM, stan wrote: I'm curious what you find you need to use a root login for. The growisofs man page states "If executed under sudo(8) growisofs refuses to start." (and explains why). I don't know if there are other commands

Re: Sudo but no su -

2018-04-26 Thread stan
On Thu, 26 Apr 2018 12:54:08 -0700 Samuel Sieb wrote: > I'm curious what you find you need to use a root login for. I used > to use that all the time, but gradually I switched over and on my > desktop system, it is extremely rare that I use it. (I think only > when the

Re: Sudo but no su -

2018-04-26 Thread Andre Robatino
> On 04/26/2018 12:14 PM, stan wrote: > > I'm curious what you find you need to use a root login for. The growisofs man page states "If executed under sudo(8) growisofs refuses to start." (and explains why). I don't know if there are other commands with the same issue.

Re: Sudo but no su -

2018-04-26 Thread Joe Zeff
On 04/26/2018 01:14 PM, Samuel Sieb wrote: I suppose that's true, but in that case, there's probably a larger issue involved and you'll likely need a live boot of some sort anyway. I'd find it both faster and easier to switch to a text console, log in as root and do what's needed. Of course,

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 01:00 PM, Joe Zeff wrote: On 04/26/2018 12:14 PM, stan wrote: Good to know that it will always be there.  Habit for me is to use root and su instead of sudo.  old dog - new tricks  :-) Same here.  If I ever had to work with Ubuntu, one of the first things I'd do is set the root

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 01:03 PM, Joe Zeff wrote: On 04/26/2018 12:54 PM, Samuel Sieb wrote: I'm curious what you find you need to use a root login for. If I need to do more than one or two things as root, it's easier to become root rather than type sudo over and over. That's what "sudo -i" is for.

Re: Sudo but no su -

2018-04-26 Thread Joe Zeff
On 04/26/2018 12:54 PM, Samuel Sieb wrote: I'm curious what you find you need to use a root login for. If I need to do more than one or two things as root, it's easier to become root rather than type sudo over and over. ___ users mailing list --

Re: Sudo but no su -

2018-04-26 Thread Joe Zeff
On 04/26/2018 12:14 PM, stan wrote: Good to know that it will always be there. Habit for me is to use root and su instead of sudo. old dog - new tricks :-) Same here. If I ever had to work with Ubuntu, one of the first things I'd do is set the root password. As things are now, you're

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 12:14 PM, stan wrote: On Thu, 26 Apr 2018 11:05:28 -0700 Samuel Sieb wrote: I think the majority opinion now is that logging in as the root user is discouraged. In almost all cases sudo is sufficient and if you need to do root things for a while, just use "sudo

Re: Sudo but no su -

2018-04-26 Thread stan
On Thu, 26 Apr 2018 11:05:28 -0700 Samuel Sieb wrote: > The home directory for root is /root. Good to know that it will always be there. Habit for me is to use root and su instead of sudo. old dog - new tricks :-) > I think the majority opinion now is that logging in as

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 11:25 AM, Matthew Miller wrote: On Thu, Apr 26, 2018 at 01:03:58PM -0400, Bob Goodwin wrote: I installed Virtual Manager in this Fedora 27 workstation system and created afedora 28 beta installation and was surprised to find I haveonly user bobg, no root account. Sometimes it's

Re: Sudo but no su -

2018-04-26 Thread Matthew Miller
On Thu, Apr 26, 2018 at 01:03:58PM -0400, Bob Goodwin wrote: > I installed Virtual Manager in this Fedora 27 workstation system and > created afedora 28 beta installation and was surprised to find I > haveonly user bobg, no root account. Sometimes it's convenient to > keep a work space for root

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 10:53 AM, stan wrote: Thanks for the info. Does there have to be a home directory for the obligatory root account? The tone of the discussions I read was that root user was an anachronism, and linux would be better without it. That's only my interpretation, of course, so it

Re: Sudo but no su -

2018-04-26 Thread stan
On Thu, 26 Apr 2018 10:30:37 -0700 Samuel Sieb wrote: > There *has* to be a root account. By default there is no root > password unless you set one during the installation. I think there > has been talk of removing that option from the installer. All you > have to do is "sudo

Re: Sudo but no su -

2018-04-26 Thread Bob Goodwin
On 04/26/18 13:25, Bob Goodwin wrote: When you did the install, did you create a password for root?  If not, then do "sudo passwd" and set one.  The easier method though might be to just use "sudo -i". _ That worked ... [bobg@localhost-live ~]$ sudo passwd [sudo] password for bobg:

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 10:25 AM, stan wrote: I think I remember reading that there will be no default root account after install of F28 or later. Again, I think I remember the workaround was to use sudo, and then create a root account with useradd. You will have to specify the root directory as /root

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 10:24 AM, Bob Goodwin wrote: On 04/26/18 13:17, Samuel Sieb wrote: When you did the install, did you create a password for root?  If not, then do "sudo passwd" and set one.  The easier method though might be to just use "sudo -i". I will try that. I did the install several

Re: Sudo but no su -

2018-04-26 Thread stan
On Thu, 26 Apr 2018 13:03:58 -0400 Bob Goodwin wrote: > I installed Virtual Manager in this Fedora 27 workstation system and > created afedora 28 beta installation and was surprised to find I > haveonly user bobg, no root account. Sometimes it's convenient to > keep a

Re: Sudo but no su -

2018-04-26 Thread Bob Goodwin
On 04/26/18 13:17, Samuel Sieb wrote: When you did the install, did you create a password for root?  If not, then do "sudo passwd" and set one.  The easier method though might be to just use "sudo -i". _ I will try that. I did the install several times thinking I was having trouble

Re: Sudo but no su -

2018-04-26 Thread Bob Goodwin
On 04/26/18 13:17, Samuel Sieb wrote: When you did the install, did you create a password for root?  If not, then do "sudo passwd" and set one.  The easier method though might be to just use "sudo -i". _ I will try that. I did the install several times thinking I was having trouble

Re: Sudo but no su -

2018-04-26 Thread Samuel Sieb
On 04/26/2018 10:03 AM, Bob Goodwin wrote: I installed Virtual Manager in this Fedora 27 workstation system and created afedora 28 beta installation and was surprised to find I haveonly user bobg, no root account. Sometimes it's convenient to keep a work space for root and I was unable to do