• General Linux Chat and Small Questions v.2
    2,323 replies, posted
[QUOTE=Niteshifter;34199149]You'll also end up typing :q or :wq for the most unrelated things. :v:[/QUOTE] Every time I try to type something in LibreOffice Every single goddamn time
[QUOTE=Killuah;34197946]Gedit always served me well but hey, I will try Vim.[/QUOTE] use gvim [editline]13th January 2012[/editline] [QUOTE=Niteshifter;34199149]You'll also end up typing :q or :wq for the most unrelated things. :v:[/QUOTE] I do it constantly when trying to close firefox.
Anyone know how to restrict sshd on Debian to login only from a domain, like ListenAddress. I just want to restrict it so I can only log in if I ssh into a sub domain of my site.
Most vim installations come with the vimtutor command. Definitely the easiest way to get into vim.
Urgh. It would appear that in installing Windows 7 to my new SSD may have somehow corrupted my Truecrypted porn drive. Which was on another hard drive. Fuckkk.
[QUOTE=Elecbullet;34219446]Urgh. It would appear that in installing Windows 7 to my new SSD may have somehow corrupted my Truecrypted porn drive. Which was on another hard drive. Fuckkk.[/QUOTE] why is your porn on an encrypted drive? the only reasons for that is either that you're 13 or you fap to people who are 13
[QUOTE=ButtsexV3;34219505]why is your porn on an encrypted drive? the only reasons for that is either that you're 13 or you fap to people who are 13[/QUOTE]the latter
[QUOTE=wingless;34204627]Anyone know how to restrict sshd on Debian to login only from a domain, like ListenAddress. I just want to restrict it so I can only log in if I ssh into a sub domain of my site.[/QUOTE] if you have multiple ip addresses, you could run sshd on the other IP and point the subdomain to that IP. why do you want to do this? [editline]15th January 2012[/editline] [QUOTE=Elecbullet;34219446]Urgh. It would appear that in installing Windows 7 to my new SSD may have somehow corrupted my Truecrypted porn drive. Which was on another hard drive. Fuckkk.[/QUOTE] man up [img]http://i.imgur.com/teFYw.png[/img]
[QUOTE=swift and shift;34219645]if you have multiple ip addresses, you could run sshd on the other IP and point the subdomain to that IP. why do you want to do this? [editline]15th January 2012[/editline] man up [img]http://i.imgur.com/teFYw.png[/img][/QUOTE] amateur [img]http://i.imgur.com/ODNGc.png[/img]
[QUOTE=ButtsexV3;34220110]amateur [img]http://i.imgur.com/ODNGc.png[/img][/QUOTE] D:
[QUOTE=FPtje;34221230]D:[/QUOTE] I might change the drive label to Q:
Some assistance with SSH: I'm trying to make a setup that allows me to automatically transfer stuff to my apache server. My plan is to have a batch script on my windows machine which invokes PuTTY's file transfer, connecting as a non-root user that has write permission to /srv/http (which the default http user should have, or at least I think it should). I've set everything up the way I remember doing it for my ordinary user account, that is make a .ssh in what /etc/passwd considers to be the users home directory, which is /srv/http, put an authorized_keys there (I have password and root login disabled) and try it. The problem is that the server rejects my key. Here's some stuff that may be useful: [code]# ls -Al /srv/http | grep .ssh drwxr-xr-x 2 root http 4096 Jan 16 17:07 .ssh # ls -l /srv/http/.ssh total 4 -rw------- 1 root http 400 Jan 16 17:07 authorized_keys # cat /etc/passwd | grep http http:x:33:33:http:/srv/http:/bin/false[/code]
Perhaps you need to chmod a-rwx,u=rwx .ssh [editline]16th January 2012[/editline] that is, only give perms to the httpd user [editline]16th January 2012[/editline] At least that's how my .ssh is set up
[QUOTE=Elecbullet;34219446]Urgh. It would appear that in installing Windows 7 to my new SSD may have somehow corrupted my Truecrypted porn drive. Which was on another hard drive. Fuckkk.[/QUOTE] If you're going to use encryption, be a man and use [url=http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup]LUKS[/url] [editline]16th January 2012[/editline] I've got my /home encrypted with LUKS on my laptop for university. Kind of a pain typing in my password to boot it up, but I can deal with it.
So I wanted to try out [url=http://kitenet.net/~joey/code/alien.html]alien[/url] and being the idiot I am I extracted it into / and now a lot of binaries are the wrong version. [code][root@Archtop test]# sudo pacman -Syu sudo: unable to dlopen /usr/lib/sudoers.so: libz.so.1: wrong ELF class: ELFCLASS32 sudo: fatal error, unable to load plugins [/code] [code][yousef@Archtop /]$ xarchiver xarchiver: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS32 [/code] Can someone help me get the right version on libz.so.1? I'm using Arch Linux. [editline]17th January 2012[/editline] /usr/lib/libz.so /usr/lib/libz.so.1 /usr/lib/libz.so.1.0.4 Those are the files that I extracted.
If you reinstall the package that's affected it'll replace the files.
I didn't get what you meant at first but then I realised you meant download them from my browser. Mostly fixed now, only pacman bitching about file conflicts. Have a winner.
Silly dependency issues when switching to pacman 4. Had to temporarily uninstall package-query and valgrind in order to satisfy the dependencies.
There's an option in pacman that allows you to force an action regardless of dependencies. You could have used that.
I forgot about that option. I might find the time to switch to gentoo soon. I'm noticing the structure in arch linux is broken is some areas.
oh shit when did pacman 4 come out aaaaa dependencies
[QUOTE=Lyoko774;34270295]oh shit when did pacman 4 come out aaaaa dependencies[/QUOTE] Pacman 4 came out? Well fuck, now I have to change my version of pacaur again
I just installed Arch successfully, kind of, and well, right now I have just barebones core packages and stuff. I managed to get on my WiFi network, but whenever i try to use pacman or the links web browser or ANYTHING to do with internet connections it doesn't work immediately. Pacman gives me 'failed retrieving file 'core.db' from (whatever mirror) : no address record. No idea what's going on here.
[QUOTE=LieutenantLeo;34283065]I managed to get on my WiFi network, but whenever i try to use pacman or the links web browser or ANYTHING to do with internet connections it doesn't work immediately. [/QUOTE] It take's a few seconds to connect, mine's the same.
[QUOTE=Sc00by22;34283463]It take's a few seconds to connect, mine's the same.[/QUOTE] I mean, it doesn't work at all
What wireless card do you have?
[QUOTE=IpHa;34283482]What wireless card do you have?[/QUOTE] Intel Centrino Wireless-N 100
Did you get an ip address? (dhcp or static)
[QUOTE=Boris-B;34283623]Did you get an ip address? (dhcp or static)[/QUOTE] Looks like I fixed it guys, I just set a static IP.
I have the same Internal network card, mine randomly fucks up so I have to click the gnome "Connected" icon at the bottom then turn it on and off.
Sorry, you need to Log In to post a reply to this thread.