Re: logging in as root

2023-06-21 Thread Jonathan Billings
On Wed, Jun 21, 2023 at 09:12:18PM -0400, Bill Cunningham wrote:
> OK we are talking about GCP Cloud Base right? Because I am.

Sorry, I'm completely unfamiliar with GCP so I can only see what the
documentation says.  I've used cloud-init on generic Fedora cloud
images on other hosting platforms, but it appears that you need to do
something special with GCP.  It appears there are ways you can set up
automation to set up accounts and passwords available at the web
console or through the API.

However, I've never had a google cloud account, so I'll let other,
more knowledgeable people answer. 

-- 
Jonathan Billings
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 8:22 PM, Jonathan Billings wrote:

On Jun 20, 2023, at 20:35, Bill Cunningham  wrote:

I have uploaded the tar.gz file to my cloud VM and try to use the system 
and it will not let me have root privledges. I use 'su' and the system wants me 
to enter a password. IDK what the password is. IS there a way around this?

When you first booted the VM, there should be a way to see the console.  In the 
startup text, it will print out a randomly generated root password.

Using cloud-init, you can drop a file in /etc/cloud (I believe) to set up 
custom behavior, but by default you get an autogenerated root password.  I 
assume part of your setup was to put a ssh pubkey so you were able to log in?  
That was most likely done with cloud-init, although I think GCP has its own 
suite of tools that does something similar.

OK we are talking about GCP Cloud Base right? Because I am.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 8:22 PM, Jonathan Billings wrote:

On Jun 20, 2023, at 20:35, Bill Cunningham  wrote:

I have uploaded the tar.gz file to my cloud VM and try to use the system 
and it will not let me have root privledges. I use 'su' and the system wants me 
to enter a password. IDK what the password is. IS there a way around this?

When you first booted the VM, there should be a way to see the console.  In the 
startup text, it will print out a randomly generated root password.

I don't see any of that at all.

Using cloud-init, you can drop a file in /etc/cloud (I believe) to set up 
custom behavior, but by default you get an autogenerated root password.  I 
assume part of your setup was to put a ssh pubkey so you were able to log in?  
That was most likely done with cloud-init, although I think GCP has its own 
suite of tools that does something similar.

GCP generates the ssh key automatically. Then you go to a cli window.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Jonathan Billings

On Jun 20, 2023, at 20:35, Bill Cunningham  wrote:
> 
> I have uploaded the tar.gz file to my cloud VM and try to use the system 
> and it will not let me have root privledges. I use 'su' and the system wants 
> me to enter a password. IDK what the password is. IS there a way around this?

When you first booted the VM, there should be a way to see the console.  In the 
startup text, it will print out a randomly generated root password.

Using cloud-init, you can drop a file in /etc/cloud (I believe) to set up 
custom behavior, but by default you get an autogenerated root password.  I 
assume part of your setup was to put a ssh pubkey so you were able to log in?  
That was most likely done with cloud-init, although I think GCP has its own 
suite of tools that does something similar.

-- 
Jonathan Billings
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 6:09 PM, Bill Cunningham wrote:
Yes I tried sudo and entered that and I was prompted for a password. I 
don't have one that I know.


On 6/21/2023 5:59 PM, Samuel Sieb wrote:

On 6/21/23 14:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, 
but you must be running as some user.  How did you get a prompt as 
that user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for 
the VM instance. But I am logged in a user and not root.


Did you try "sudo"?

I'm curious how you have an email address as a user though...

Oh no sorry not an email. I saw the @ and thought email. But it's a used 
I have never selected. I also try a simple enter at the password prompt 
and still nothing.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 6:33 PM, Robert McBroom via users wrote:

On 6/21/23 17:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, 
but you must be running as some user.  How did you get a prompt as 
that user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the 
VM instance. But I am logged in a user and not root.
Try changing the password to the user you have, then see what groups 
are assigned. Some cloud installs initially have an empty password.



I still get user auth. error.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 6:33 PM, Robert McBroom via users wrote:

On 6/21/23 17:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, 
but you must be running as some user.  How did you get a prompt as 
that user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the 
VM instance. But I am logged in a user and not root.
Try changing the password to the user you have, then see what groups 
are assigned. Some cloud installs initially have an empty password.



I tried using passwd and this was the error I got,

passwd: Authentication token manipulation error

IDK where else to change the password. I usually run my machine with 
root and full access so I am not used to users.


B
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Robert McBroom via users

On 6/21/23 17:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, 
but you must be running as some user.  How did you get a prompt as 
that user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the 
VM instance. But I am logged in a user and not root.
Try changing the password to the user you have, then see what groups are 
assigned. Some cloud installs initially have an empty password.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham
Yes I tried sudo and entered that and I was prompted for a password. I 
don't have one that I know.


On 6/21/2023 5:59 PM, Samuel Sieb wrote:

On 6/21/23 14:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, 
but you must be running as some user.  How did you get a prompt as 
that user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the 
VM instance. But I am logged in a user and not root.


Did you try "sudo"?

I'm curious how you have an email address as a user though...
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Samuel Sieb

On 6/21/23 14:56, Bill Cunningham wrote:


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, but 
you must be running as some user.  How did you get a prompt as that 
user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the VM 
instance. But I am logged in a user and not root.


Did you try "sudo"?

I'm curious how you have an email address as a user though...
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 4:39 PM, Samuel Sieb wrote:

On 6/20/23 17:33, Bill Cunningham wrote:
 I have uploaded the tar.gz file to my cloud VM and try to use 
the system and it will not let me have root privledges. I use 'su' 
and the system wants me to enter a password. IDK what the password 
is. IS there a way around this?


You said in a later email that you didn't set a personal password, but 
you must be running as some user.  How did you get a prompt as that 
user and did you try "sudo"?


Yes I am logged in as a user and the user is my email address. I 
uploaded to a bucket the gzipped tarball and created an image for the VM 
instance. But I am logged in a user and not root.


B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Samuel Sieb

On 6/20/23 17:33, Bill Cunningham wrote:
     I have uploaded the tar.gz file to my cloud VM and try to use the 
system and it will not let me have root privledges. I use 'su' and the 
system wants me to enter a password. IDK what the password is. IS there 
a way around this?


You said in a later email that you didn't set a personal password, but 
you must be running as some user.  How did you get a prompt as that user 
and did you try "sudo"?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 4:12 AM, Dorian ROSSE wrote:

Hello,


For use the line of command by administrator by keeping the user log 
in without be log in as root so you need type ' sudo ' in front the 
line of command where you would be log in as the user without be log 
in as root thus an example below finally i hope your success, regards.


sudo chmod 755 thefile


Dorian Rosse.

*From:* fedora 
*Sent:* Wednesday, June 21, 2023 9:27:15 AM
*To:* Community support for Fedora users 
*Subject:* Re: logging in as root
On Tue, Jun 20, 2023 at 09:45:35PM -0400, Bill Cunningham wrote:
> I never set a personal password I just uploaded the tarball and 
converted it

> to an image and ran it in a VM. It's the GCP tarball.

You need to initialize the image with something like 'cloud-init'.
You could also use 'virt-install' to customize the image.
If you are using Fedora CoreOS you could use 'Ignition'.
Here is a link to Fedora Documentation, but it describes Fedora CoreOS,
not Cloud Edition: 
https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/

___



Ok is this before I upload to GCP's bucket? Do I do this on my machine's 
desktop?


B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Bill Cunningham


On 6/21/2023 4:12 AM, Dorian ROSSE wrote:

Hello,


For use the line of command by administrator by keeping the user log 
in without be log in as root so you need type ' sudo ' in front the 
line of command where you would be log in as the user without be log 
in as root thus an example below finally i hope your success, regards.


sudo chmod 755 thefile


Dorian Rosse.

*From:* fedora 
*Sent:* Wednesday, June 21, 2023 9:27:15 AM
*To:* Community support for Fedora users 
*Subject:* Re: logging in as root
On Tue, Jun 20, 2023 at 09:45:35PM -0400, Bill Cunningham wrote:
> I never set a personal password I just uploaded the tarball and 
converted it

> to an image and ran it in a VM. It's the GCP tarball.

You need to initialize the image with something like 'cloud-init'.
You could also use 'virt-install' to customize the image.
If you are using Fedora CoreOS you could use 'Ignition'.
Here is a link to Fedora Documentation, but it describes Fedora CoreOS,
not Cloud Edition: 
https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


This is something new I have not heard of. "Cloud-init" and 
"virt-install". Is this done from my desktop before I upload to GCP? Do 
I do this to the tarball?


B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread Dorian ROSSE
Hello,


For use the line of command by administrator by keeping the user log in without 
be log in as root so you need type ' sudo ' in front the line of command where 
you would be log in as the user without be log in as root thus an example below 
finally i hope your success, regards.

sudo chmod 755 thefile


Dorian Rosse.

From: fedora 
Sent: Wednesday, June 21, 2023 9:27:15 AM
To: Community support for Fedora users 
Subject: Re: logging in as root

On Tue, Jun 20, 2023 at 09:45:35PM -0400, Bill Cunningham wrote:
> I never set a personal password I just uploaded the tarball and converted it
> to an image and ran it in a VM. It's the GCP tarball.

You need to initialize the image with something like 'cloud-init'.
You could also use 'virt-install' to customize the image.
If you are using Fedora CoreOS you could use 'Ignition'.
Here is a link to Fedora Documentation, but it describes Fedora CoreOS,
not Cloud Edition: 
https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-21 Thread fedora
On Tue, Jun 20, 2023 at 09:45:35PM -0400, Bill Cunningham wrote:
> I never set a personal password I just uploaded the tarball and converted it
> to an image and ran it in a VM. It's the GCP tarball.

You need to initialize the image with something like 'cloud-init'.
You could also use 'virt-install' to customize the image.
If you are using Fedora CoreOS you could use 'Ignition'.
Here is a link to Fedora Documentation, but it describes Fedora CoreOS,
not Cloud Edition: 
https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-gcp/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-20 Thread Bill Cunningham


On 6/20/2023 8:46 PM, Chris Adams wrote:

Once upon a time, Mike Wright  said:

You want to use "sudo su" and use your personal password.

There's no reason to "sudo su" (don't know why this gets recommended).
You can "sudo -s" (similar to plain "su", stays in current directory,
doesn't act like a login shell) or "sudo -i" (similar to "su -",
initializes like a login).


I never set a personal password I just uploaded the tarball and 
converted it to an image and ran it in a VM. It's the GCP tarball.


B
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-20 Thread Mike Wright

On 6/20/23 17:46, Chris Adams wrote:

Once upon a time, Mike Wright  said:

You want to use "sudo su" and use your personal password.


There's no reason to "sudo su" (don't know why this gets recommended).


In my case su is easier to type than -s.  I don't have to take my 
fingers off the home row.  When I'm shooting for the - I'm never sure 
which of 0-= I'm going to get.  Pinky never quite gets that right, and 
that's after decades of practice.   Don't know what other peoples 
reasons are.


:/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-20 Thread Chris Adams
Once upon a time, Mike Wright  said:
> You want to use "sudo su" and use your personal password.

There's no reason to "sudo su" (don't know why this gets recommended).
You can "sudo -s" (similar to plain "su", stays in current directory,
doesn't act like a login shell) or "sudo -i" (similar to "su -",
initializes like a login).
-- 
Chris Adams 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: logging in as root

2023-06-20 Thread Mike Wright

On 6/20/23 17:33, Bill Cunningham wrote:
     I have uploaded the tar.gz file to my cloud VM and try to use the 
system and it will not let me have root privledges. I use 'su' and the 
system wants me to enter a password. IDK what the password is. IS there 
a way around this?


You want to use "sudo su" and use your personal password.  For this to 
work on fedora I believe you have to be a member of the group "wheel".

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


logging in as root

2023-06-20 Thread Bill Cunningham
    I have uploaded the tar.gz file to my cloud VM and try to use the 
system and it will not let me have root privledges. I use 'su' and the 
system wants me to enter a password. IDK what the password is. IS there 
a way around this?


B

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue