I wrote the following question:
How can I safely allow a php based website to create a linux user and interact with the environment?
I realize now that, based on a lack of understanding at the time, my question title is not exactly what I mean to ask.
What I mean to ask is "How can I automate ...
@JordanEvans Do you want another GUI that is on another tty? Or do you just want to run the command from the other tty but have the window come up on the GUI that you already have?
can someone perhaps superping this person and tell them not to VTC spam but just flag it? askubuntu.com/questions/875121 ? or how else can we tell them? <-- 10k needed to see this
@WinEunuuchs2Unix was that yesterday? feels like that happened about a week ago... yeah I don't know why your post got downvoted but in my semi-awake state I couldn't find the actual answer to the question spelled out in it, hence the edit (+ subsequent upvote)
@Zanna Maybe it was a few days ago... I played Weekend Windows Warrior on video games shooting aliens this weekend so don't remember. Thanks for +1 and it got accepted today as answer so that's another +1.5 :)
Yes I like the Elementary color of cyan on black.... it's very attractive... better than Ubuntu pukey orange.
Who came up with the idea that the top bar should be following around as I scroll down, taking up all my screen's precious pixels !!! Yew bashtards !!!
Is this a duplicate (see comments)? Or is it a different, less severe problem because permissions were changed for several important directories in /usr but not for everything in /? I am unsure.
After running this command - sudo chown -R $(whoami) usr/{lib/node_modules,bin,share} I am not able to run sudo anymore: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set. How do I fixed that?
I read this thread but I am not sure what advice to follow and if it's applicable ...
Is there any single operation that would likely result in /usr/bin/sudo being deleted and /usr/bin/pkexec continuing to exist but losing setuid? I'm still wondering what else, if anything, may be broken on this OP's system.
How can I install the sudo package?
$ apt-get install sudo
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Everything in /usr can be root-owned as far as I know. I just did a quick scan of my system with find /usr -not -user root | less and the only things in there are a handful of fonts I copied over and some node modules I installed with npm (which could be reinstalled easily).
Should I ask the OP of this question (which I have answered) if they're using Ubuntu, and, if not, VTC it and ask for it to be migrated to Unix.SE? The answers apply equally to Ubuntu as other systems, but I think the actual confusion in the question -- at least when it takes that specific form -- is more likely to arise on systems that don't use GNU coreutils.
link file1.txt file2.txt
file1.txt contains ham and file2.txt contains cheese.
I added 123 in file1.txt. Now file1.txt has ham123. If my understanding is correct, any changes made in either file would affect the other, but file2.txt is not changed. Why not?
Here's my edition with complete an...
file1.txt and file2.txt already existed, and the OP ran link file1.txt file2.txt, got link: file2.txt: File exists, and didn't realize it was an error. On my Ubuntu system, I get link: cannot create link 'file2.txt' to 'file1.txt': File exists.
That's not the only reason I suspect it's not Ubuntu, it's just the one that seems most relevant to what to do with it. I suspect the OP is using macOS because users are members of a staff group and the output of ls shows the @ symbol on the permissions string, indicating extended attributes. I think that combination is most common on macOS (because of the BSD-style user groups together with the extended attributes used widely and automatically by the HFS+ fileysstem).
@terdon It's in the text from the terminal that they put in their question.
@terdon I don't know for sure. Do you think it's sufficient to test 12.04? I plan to set up a 12.04 VM soon to try and see if one can still get previously purchased payware from the Software Center, and also maybe figure out if there is a way to authenticate and download it from a later system (maybe with APT in a debootstrap -- my recollection is that installing already purchased items didn't technically require USC). I'm hoping I can provide a working technical answer to this:
About a year and a half again, I purchased this wonderful game "Machinarium" from Amanita Design at the Ubuntu Software Center. Now, after I got a new Laptop Computer, I wanted to re-install my previously purchased game. However, it is not available anymore in the Software Center. I contacted Can...
Good call. And that question is related -- they're both about opening a file though different hard links in an editor. Part of what it seems like the OP wants to know, at least in the closed one, is what TextEdit.app does in macOS when it saves a file (in terms of saving into the same file or making a new one). If we're considering closing and migrating the open, answered one, should we consider Ask Different too?
@UbuntuUser Running from an ISO ? NO ... do what I told you : insert that ISO and attach the vdisk ... change the boot order to boot from CD ROM (see the screenshot below) ... then start the installation of the virtual machine ! :)
@UbuntuUser Enough my friend ... Please ... Stop ... I already explained this to you so many times now ... do the basic homework ... otherwise I'm not able to help you further on ! :) bare metal is bare metal and vdisk is vdisk ... :)
@terdon At least as far back as 12.04, link gives that same message with cannot create link file2.txt' to file1.txt': before (what looks like) the result of strerror(). It looks like this on the 12.04 VM I just got around to setting up. The 12.04 and upstream code are similar.
@cl-netbox OK, I got xp to work I actually have a problem, when I install from disk, it tells me to take the 'floppy' out and restart. When I take it out, it tries to setup again!
@EliahKagan Yes, Ubuntu MATE (not MATE DE on another distro. I do like it and now I'm used to it, I guess I would probably end up installing it on Arch in future when someone gives me an old laptop to play with (as tends to happen occasionally), after trying out some other DEs. It's a nice balance of looking pretty and not getting in my way (I also like Xfce)) (currently on 16.10)
@UbuntuUser Then you did something wrong ... shutdown the VM ... detach the ISO installation media ... then start the VM again by booting from the vdisk ! :)
@UbuntuUser hahaha ... no you don't appear like an old grannie ... more than an alligator trying to fish birds ! :D :D :D Wasn't that something "more funny" for you @Fabby - right ? :D :D :D
@cl-netbox just waiting an answer, made a formalized offer on a place, now I need to wait to see if the other part agrees with it. It's supposed to expire today, so I'm probably hearing about it soon
If he agrees we are both kind of "stuck" (didn't find another word) with closing the deal, because there is a fee for the part who gives up the deal
@cl-netbox means that if we both agreed on the deal, and signed the papers, and he gives up selling the place for me he needs to pay a fee. If I give up buying it I need to pay a fee
I m trying to make the geneology program AHNENBLATT 2.97 work (Wine 1.8, Ibuntumate 16.0). All I get is EAccessViolation at 0076ca04, while reading 00000008. Can somebody help? (German or French is possible).
Thanks Max
@Hizqeel Thanks for asking ... everything okay here ... also I got it managed to answer some questions since we last met (fortunately found some suitable) ... :)
@Hizqeel Yeah ... hope they solve the problems ... one is quite easy (qemu installation didn't work), two other address deployment issues ... often many comments with additional explanations are needed after answering ... :)
@EliahKagan What I forgot to ask you ... why do you prefer Lubuntu ? Do you use it because your hardware is a little bit older (system requirements) ? :)
Originally that was a bigger part of the reason than it is now. I like how it's simple and streamlined. I also like how it doesn't use graphics acceleration by default. There are a lot of great things that are being done with graphics acceleration on the desktop, but I'd rather have my GPU power available for other things (like running the GPU Folding@home client).
But actually, I do have one particular machine I use a quite a bit that is not very powerful, and it does benefit from LXDE, though I suspect it would run okay with Xfce or MATE.
@EliahKagan That's one of the reasons I like linux systems ... there is something suitable for nearly everyone's needs available ... me personally, I prefer ubuntu with unity as my main driver and fedora with GNOME coming up second ! :)
@Hizqeel While re-checking my answers, I just saw that we edited (improved) the same question yesterday ... happened at about exactly the same time ... :)
but then I came to a question on U&L, that wanted a way to pipe what was at the stdin at the moment of execution, ignoring anything that came later. so I wrote a small C program that did that
very cool hack, but I wouldn't expect less from that girl, have seem some awesome answers from her on U&L
@cl-netbox yeah, I'm usually a bit overly careful with using dd, because of how you can screw up things with it, but that use above is quite safe, since you're only working with stdin and stdout :)
Background:
This is NOT for application-indicators but system-indicators.
Picture from: https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators
The objective is to show indicator-sysmonitor in Greeter/Lock/Ubiquity screens. There is a work around in:
How to make indicator-sysmo...