Click here to Skip to main content
15,885,933 members
Home / Discussions / Linux Programming
   

Linux Programming

 
AnswerRe: How to "provide password " ? Pin
jschell2-May-23 11:04
jschell2-May-23 11:04 
GeneralMessage Closed Pin
2-May-23 12:47
Member 149687712-May-23 12:47 
GeneralRe: How to "provide password " ? Pin
jschell3-May-23 9:46
jschell3-May-23 9:46 
AnswerRe: How to "provide password " ? Pin
Richard MacCutchan2-May-23 22:14
mveRichard MacCutchan2-May-23 22:14 
AnswerRe: How to "provide password " ? Pin
Graham Breach2-May-23 23:38
Graham Breach2-May-23 23:38 
AnswerRe: How to "provide password " ? Pin
k50543-May-23 6:33
mvek50543-May-23 6:33 
GeneralMessage Closed Pin
3-May-23 7:22
Member 149687713-May-23 7:22 
GeneralRe: How to "provide password " ? Pin
k50543-May-23 8:06
mvek50543-May-23 8:06 
The expression "echo ""q"" | sudo ... " doesn't do what I think you think it does. But it all works out anyway. This time. Successive string constants, with only intervening white space get concatenated together so
C
printf("Hello"
       " World!\n");
prints Hello World!. See. You learned something from "sidechatter"!
Member 14968771 wrote:
I need to be honest - I am getting discouraged by posters "making small talk" posts such as
...make sure you have a backup...
...it is a security issue...

To my mind, there's been very little in your previous posts that suggest you have any idea what issues you might be unleashing with your blind man with a sledgehammer approach. There's no sense that you understand what the possible consequences of your choices are. Given that, it would be remiss of us not to point out the possible pitfalls of your "solutions" ... many of which, I at least, find dubious. And most of us have "Been there, done that" in terms of making unwise or uninformed choices, and had to rebuild, repair, and recover. If we're lucky, damage to customer systems, and our reputations, has been minimal. But we learn. We grow. We pass on our insights (and war stories) to others in hopes that they will learn, remember and be proactive in areas like security before it affects them or their customer's in negative ways. It's all about an ounce of prevention being worth a pound of cure. If we can guide others away from dangers, I think we should, rather then letting the foolhardy walk unprepared into the lions den.

For example, I don't think that creating /dev/rfcomm0 as a soft link to /dev/ttyUSB0 is going to achieve what you expect. Have you tested this approach and got the results you want? Looking at this post https://unix.stackexchange.com/a/410128 regarding a missing /dev/rfcomm0, it seems highly unlikely that creating a link between what seems to be a USB serial device and what I can only assume is supposed to be a bluetooth device binding is going to work. They're completely different objects. It seems like you're trying to create a link between, say /dev/sda and /dev/console, and expect GPU I/O operations to somehow be magically interpreted to save video to the disk.

But maybe you have already done some testing and know that works. I don't know. I can only wish you luck.
Keep Calm and Carry On

GeneralRe: How to "provide password " ? Pin
jschell3-May-23 9:44
jschell3-May-23 9:44 
GeneralRe: How to "provide password " ? Pin
Richard MacCutchan3-May-23 21:16
mveRichard MacCutchan3-May-23 21:16 
AnswerRe: How to "provide password " REMOVED Pin
Dave Kreskowiak4-May-23 3:05
mveDave Kreskowiak4-May-23 3:05 
AnswerRe: How to "provide password " REMOVED Pin
Victor Nijegorodov4-May-23 6:18
Victor Nijegorodov4-May-23 6:18 
GeneralRe: How to "provide password " REMOVED Pin
Richard MacCutchan5-May-23 3:51
mveRichard MacCutchan5-May-23 3:51 
QuestionMessage Closed Pin
2-May-23 4:58
Member 149687712-May-23 4:58 
AnswerRe: Why is "su" failing and "sudo su " works ? Pin
k50542-May-23 5:29
mvek50542-May-23 5:29 
GeneralMessage Closed Pin
2-May-23 6:33
Member 149687712-May-23 6:33 
AnswerRe: Why is "su" failing and "sudo su " works - revised ? Pin
k50542-May-23 7:08
mvek50542-May-23 7:08 
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Dr.Walt Fair, PE20-Feb-24 10:59
professionalDr.Walt Fair, PE20-Feb-24 10:59 
GeneralMessage Closed Pin
3-May-23 5:37
Member 149687713-May-23 5:37 
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Richard MacCutchan2-May-23 22:04
mveRichard MacCutchan2-May-23 22:04 
GeneralRe: Why is "su" failing and "sudo su " works - revised ? Pin
Richard MacCutchan3-May-23 5:48
mveRichard MacCutchan3-May-23 5:48 
QuestionMessage Closed Pin
30-Apr-23 17:59
Member 1496877130-Apr-23 17:59 
AnswerRe: Debugging "command" .... Pin
Richard MacCutchan30-Apr-23 21:16
mveRichard MacCutchan30-Apr-23 21:16 
QuestionMessage Closed Pin
30-Apr-23 7:36
Member 1496877130-Apr-23 7:36 
AnswerRe: Restructuring (Linux) device partitions Pin
Richard MacCutchan30-Apr-23 6:02
mveRichard MacCutchan30-Apr-23 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.