LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2021, 02:21 AM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by magster View Post
Ondoho,
I did not realize sudo DOES have root priveleges. Not as much as full root priveleges. Basically, I Could inadvertantly mess up my computer more easily using full root,I hear what you are saying though...
I don't think you are hearing what I'm saying, because I did not say that.
On most systems, using sudo will give you full root privileges.
Configurations of sudo may vary, but this is the most common configuration for desktop Linux.
 
Old 10-13-2021, 08:18 PM   #17
PsychoHermit
Member
 
Registered: Aug 2021
Location: Carson City Nevada
Distribution: Debian Testing
Posts: 137

Rep: Reputation: Disabled
Pasting from a terminal

Hi Maggie,

Did you see my previous post? It's important that you get how to paste from a terminal. Click and drag your mouse to highlight text in a terminal window and then middle click your mouse where you want to paste the text. Just like magic. :-)

--glenn

Last edited by PsychoHermit; 10-14-2021 at 10:03 PM.
 
Old 10-13-2021, 08:57 PM   #18
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
If you look at the default sudo-control files, you will see how membership in the wheel (as in "big wheel," I suppose ...) group gives you godly powers. You can walk into any nearby telephone booth, utter the magic words "sudo su", enter your(!) login password, and sail off into the stratosphere wearing ugly blue tights.

Which is precisely why I make very sure that "the accounts that I use every day" cannot do such a thing. The privileges and the file-access which I afford to these user-ids are the least that are necessary for them to do their jobs.

I have a user-id for each client. I have another user-id that I use when I have to be my own bookkeeper. And, I have another user-id that I might be using right now. Every one of them is "just an ordinary joe." They can see what they need to see and do what they need to do ... and absolutely nothing else. If any of them wander into a telephone booth, the only thing that they can do there is to make a phone call.

And then, there's one user-id left over: clark_kent

Last edited by sundialsvcs; 10-13-2021 at 09:02 PM.
 
Old 10-14-2021, 04:38 PM   #19
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
To try and add a little (and hopefully clarify what was said by PsychoHermit) about using code tags.
If you want to type in the code tags then simply do this
Code:
\[code\]
your pasted text here
\[/code\]
An alternative is to select the "go advanced" button at the bottom of the text input window then in the toolbar at the top you will see a # sign. If you click on that it will create the code tags for you and by simply pasting the text you are copying in between the code tags it does the same as I showed above. I used the \ to force the system to show the [ ] brackets, but you would not type those ( \ ) in when entering the tags.

Last edited by computersavvy; 10-27-2021 at 09:20 PM.
 
Old 10-27-2021, 09:10 PM   #20
magster
Member
 
Registered: Nov 2020
Distribution: "Linux Mint" VERSION="20.2 (Uma)"
Posts: 144

Original Poster
Rep: Reputation: Disabled
To PsychoHermit and computersavvy

I just wrote a detailed reply letting you know I apologize for my delay in replying. I did not understand , still even after your 2nd attempt PsychoHermit ! I had hoped after a bit I would understand it.
THen I am just now seeing computersavvy post. THank you.
I proceeded to lose my reply here !

Apparently I am needing even more basic instructions on this ... I seem to have a mind block !
Okay, so now,
After trial and error, I see that the mouse wheel pressed does post the terminal info that I highlight.
I got that.

I see # does produce computersavvy I do not follow " I used the \ to force the system to show the [ ] brackets, but you would not type those ( \ ) in when entering the tags."
What matters is, am I correct that I enter \[code\] before I use mouse wheel to paste the highlighted terminal results ?
THen reenter \[code\] ?
THen push enter ?
I tried that and the blue box still does not show up.
What am I missing ?

Thanks in advance for your patience and help. I really want to get this !!!
Maggie

Last edited by magster; 10-27-2021 at 09:13 PM.
 
Old 10-27-2021, 09:33 PM   #21
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by magster View Post
I just wrote a detailed reply letting you know I apologize for my delay in replying. I did not understand , still even after your 2nd attempt PsychoHermit ! I had hoped after a bit I would understand it.
THen I am just now seeing computersavvy post. THank you.
I proceeded to lose my reply here !

Apparently I am needing even more basic instructions on this ... I seem to have a mind block !
Okay, so now,
After trial and error, I see that the mouse wheel pressed does post the terminal info that I highlight.
I got that.

I see # does produce computersavvy I do not follow " I used the \ to force the system to show the [ ] brackets, but you would not type those ( \ ) in when entering the tags."
What matters is, am I correct that I enter \[code\] before I use mouse wheel to paste the highlighted terminal results ?
THen reenter \[code\] ?
THen push enter ?
I tried that and the blue box still does not show up.
What am I missing ?

Thanks in advance for your patience and help. I really want to get this !!!
Maggie

Ok, lets back up a bit.

At the bottom of the window where you are entering the text there is a button labeled "advanced"
When you click on that button you will see the top toolbar change from a simple one line tool bar to 2 lines.
Near the far right end of the second tool bar line is the # symbol
When you click on that # symbol it will paste the code tags into your text at the location where the cursor is, and the cursor will be between the two code tags.
Simply paste the text you copied from the screen between the 2 tags and it will be shown in a code box with the formatting maintained when you select preview post or submit it.

You also can paste the text in, then highlight it with the mouse before you click on the # symbol and it will put the code tags before & after the highlighted text.

This is an opening code tag

[code]

The closing code tag is the same except it has /code between the square brackets.
The opening code tag goes before what you paste in & the closing code tag goes after the text pasted in.

Last edited by computersavvy; 10-27-2021 at 09:40 PM.
 
1 members found this post helpful.
Old 10-27-2021, 11:04 PM   #22
magster
Member
 
Registered: Nov 2020
Distribution: "Linux Mint" VERSION="20.2 (Uma)"
Posts: 144

Original Poster
Rep: Reputation: Disabled
Just learned how to produce blue box for terminal info :)

Thanks so much for your speedy reply !


pressed #
Highlighted on terminal
Pasted terminal line using wheel on mouse


Code:
maggie@linux ~ $
"You also can paste the text in, then highlight it with the mouse before you click on the # symbol and it will put the code tags before & after the highlighted text."

Code:
maggie@linux ~ $
Does the blue box show up after I post ?
JUst tried preview and both methods produced blue box. YAAAY !

Thank you so much. I had not realized the box is produced After it is posted.
Success!
Again, thanks to both of you for your patience !
 
Old 10-27-2021, 11:06 PM   #23
PsychoHermit
Member
 
Registered: Aug 2021
Location: Carson City Nevada
Distribution: Debian Testing
Posts: 137

Rep: Reputation: Disabled
Yay Maggie! Glad you finally got it.

--glenn
 
1 members found this post helpful.
Old 10-28-2021, 09:48 AM   #24
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Maggie!
Just took a bit of experimentation.
 
1 members found this post helpful.
Old 12-12-2021, 08:18 PM   #25
magster
Member
 
Registered: Nov 2020
Distribution: "Linux Mint" VERSION="20.2 (Uma)"
Posts: 144

Original Poster
Rep: Reputation: Disabled
Hi Rickkkk,

In this thread,you wrote
Code:
 feel free to message me anytime - you just click on my user name and choose private message. I will add you to my contacts.
I click on your user name, but do not see private message as one of the options.....
What am I missing ? How do I private message you ?

Thanks !

Maggie
 
Old 12-13-2021, 01:35 AM   #26
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
From the LQ Board FAQ:
Quote:
NOTE: Private messages are only enabled for members in the Senior Member and Contributing Member usergroups.
IIRC, you automatically become a member of the Senior Member usergroup after 150 posts. Senior Member usergroup membership is different from the title shown in your profile: you become called Senior Member after 1000 posts only. Very confusing, I know.
 
1 members found this post helpful.
Old 12-13-2021, 11:46 AM   #27
magster
Member
 
Registered: Nov 2020
Distribution: "Linux Mint" VERSION="20.2 (Uma)"
Posts: 144

Original Poster
Rep: Reputation: Disabled
shruggy,

Yes, confusing ! What is meant by "posts" ? By posts, does that mean the posts you do on another member's thread to help solve it ?

Does that number show on your profile?

If I understand you correctly, after the 150 posts, your title does not change, but you can then do private message?
It takes 1000 posts to have your title change?

Thanks.

magster
 
Old 12-13-2021, 12:27 PM   #28
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by magster View Post
By posts, does that mean the posts you do on another member's thread to help solve it?
No. Any posts.

Quote:
Does that number show on your profile?
Yes.

Quote:
If I understand you correctly, after the 150 posts, your title does not change, but you can then do private message?
It takes 1000 posts to have your title change?
Exactly. Another possibility to unlock private messaging immediately is to become a Contributing Member.
 
1 members found this post helpful.
Old 12-13-2021, 09:54 PM   #29
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by magster View Post
Hi Rickkkk,

In this thread,you wrote
Code:
 feel free to message me anytime - you just click on my user name and choose private message. I will add you to my contacts.
I click on your user name, but do not see private message as one of the options.....
What am I missing ? How do I private message you ?

Thanks !

Maggie
Hi Maggie,

Sincere apologies - I did not know about the criteria required to be able to message someone here. I know that forums like this one generally encourage public posting so that all may learn from issues discussed. I tend to agree, but I repeat that I am happy to help as well if messaged.

So once you are able to do so, feel free. In the meantime, I am not on here often as of late - work is keeping me busy. But I will look out for you when I am on.

Cheers - stay well.

Rick
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) Ztcoracat Debian 5 02-23-2019 10:02 AM
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) Grimm666 Linux - Newbie 3 07-16-2015 02:16 AM
open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied gabsik Linux - Server 6 08-30-2012 09:39 PM
[SOLVED] 404errors when running apt-get update already tried sudo rm /var/lib/apt/lists/* -vf rasec8711 Linux - Software 2 05-31-2012 10:33 AM
Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) basina Linux - Laptop and Netbook 3 09-05-2011 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration