[00:00] I guess I'd perfer it to be in a volume group and lv0 so I don't have to split upfiles so much on the share [00:35] I'm trying to formate a 3TB HD -> $ parted /dev/sdb mklabel gpt mkpart primary [start] [end] [00:35] What should I use for the [start] and [end] values to make sure everything is aligned? === cpg is now known as cpg|away [01:14] is there an easy way to partition and format a bunch of disks at once? ie: sd[b,c,d,e,f,g,h,i] ? [01:31] Hello everyone. [01:31] I need some help with my server. [01:35] akerok_: just ask and someone may be able to help [01:39] All right. I have a Ubuntu 12.04 server running right now. My friend and I are trying to get it to allow her to remote desktop login to the account I have on the server for her. I have the open ssh server running on it right now, but it still will not allow her to access it from her computer running windows. How can I get it to allow her to access it? [01:40] hey all [01:41] akerok_: how is she trying to access it? what program and what command? [01:42] I installed ubuntu 12.04.1 Server and I need a head on it for eclipse and such..... tried aptitude install gnome and it screwed up all of my services like apache and such [01:42] any ideas on how to add a head to ubuntu server without any impact to services [01:43] She is trying to use windows remote desktop software. I have her trying to use the static ip address of my comptuter (we are on the same network). Also, there seems to be a problem with the "/var/lib/dpkg/lock" directory. [01:43] QnD: can you provide details about why you believe installing gnome affected services? [01:44] akerok_: okay - that would be a separate issue (dpkg). I would recommend she use PuTTY [01:45] We are trying that one as well. It's saying it cannot find the server. [01:46] akerok_: it may be a windows firewall issue (obviously beyond the topic here) - have you verified that ssh can get out? [01:46] To be honest, I don't know how to do that. [01:46] I don't remember. [01:47] well when aptitude gave me output several services such as apache2 was listed under REMOVE: [01:47] The Windows firewall is off. [01:48] akerok_: you might need to ask in ##windows about why that's not working... what's the dpkg/apt problem? [01:49] any ideas on why it would attempt to impact services ? during the install I noticed it stopped and started the apache2 service === Ursinha-afk is now known as Ursinha [01:50] It tells me that the directory is unreachable, and asks if another program is using it. [01:51] My friend has joined this IRC channel now. [01:52] QnD: because there must be conflicting dependencies between gnome and what you already had installed === Sarona_silverwol is now known as Saronasilverwolf [01:53] @yeats is there a way of adding some sort of head to server. i just need it for some dev stuff and such [01:53] akerok_: there might be another package manager program open? [01:53] akerok_: you could try 'lsof | grep dpkg'? [01:53] I will try that. One sec. [01:54] I just rebooted the server. It didn't give me the problem again. [01:55] QnD: no way to use another station for that? [01:55] QnD: LXDE would be the lightest desktop if you decide one is necessary [01:55] nah I only have one box for both [01:56] will LXDE impact my services [01:56] QnD: no idea [01:56] install complete and booted... trying now [01:56] BTW thanks for your help [01:56] QnD: sure [01:59] I am having trouble aligning the primary partition on a 3TB HDD [sdb]. I receive the error: Partition 1 does not start on physical sector boundary. How can I make sure it lines up correctly? It is important because these disks will be used in an important RAID 10 Array. Thanks. [02:02] lvmer: what tool are you using ? [02:02] parted, because fdisk doesn't do >2.2TB [02:02] perfect [02:02] just checking, good call [02:03] I ran parted -a optimize /dev/sdb [02:03] but I still get the error [02:05] @yeats what packages should i install from lxde. I did a search and lxde, lxde-common .... came up. also do I need anything else installed like Xwindows framework or stuff along those lines [02:07] QnD: lxde-core is the lightest, but lxde is not much more [02:08] QnD: this is a very useful page: http://wiki.lxde.org/en/Ubuntu [02:08] just install lxde-metapackage and let aptitude figure out the dependancies [02:09] QnD: just watch that apt doesn't try to remove anything you're using [02:12] im not too woried about size.... just like you just said... it is the services im worried about... [02:14] it looks like nothing is scheduled for removal [02:15] QnD: good [02:15] will most apps like eclipse run on lxde ? [02:15] QnD: you'll need java for eclipse, but yes [02:16] hmmm transmission (torrent engine) would be nice on a linux tcp stack :) [02:18] pulled the trigger ! installing :) [02:22] @yeats how do I start it. no lxde file in /etc.init.d and "service" doesnt recognize it [02:23] QnD: see the wiki link I shared above [02:23] k [02:39] could not open display :( rebooting [02:41] trying aptitude install ldxe.... seems to have xorg stuff. probably easier to tweek [02:43] Hi, I'm working with akerok_ on here. We were able to get to where it asks for my password using ssh, but it keeps saying access denied. [02:43] @yeats unable to open display... any ideas... internet docs seem ambiguous [02:44] got it so far... had to install xinit and go through startx === cpg|away is now known as cpg [02:46] Hello. I am creating a homelab/bunch of services for my personal use. Because AD is ubiquitous, I want to use it. What is the best way to implement single sign on on all of my ubuntu/linux servers and desktops that I have set up? Should I use an OpenLDAP server as a 'go-between' or do something else? This will be a mostly Linux set up, but there will be Windows clients(another reason for using AD) [02:47] mike024: check out SSSD [02:47] mike024: it does almost everything for you. if you look up the edubuntu-devel mailing list on lists.ubuntu.com, there's an email not to long ago that basically outlines how to configure sssd (it has a man page too) [02:53] We were able to get SSH server to allow me to connect using my compters terminal remotely to our server, but she cannot connect using SSH on her computer. We cannot figure out why it will not allow any other computer to connect to the server. The server is running as a VM on my computer. [02:54] akerok_: probably a route [02:54] I honestly don't know how to fix this issue. [02:54] highvoltage: neato. Looks very useful. Thanks for another way to solve the problem to look into! [02:56] akerok_ Saronasilverwolf: You get the login prompt? It asks for your password? [02:57] Yes. [02:57] yes it does [02:57] There are 2 user accounts on the server. Mine and hers. Both have passwords. [02:57] Are you sure the username and password is correct? can her account log in locally? [02:58] I can log into her account directly on the server. [02:58] It's Ubuntu server 12.04 [02:58] can you pastebin your sshd.config? [02:59] I might be able to. The server is running as a VM on my computer. [03:00] Please do. The configuration of the machine/vm you're trying to log into is important. :) [03:00] All right. I'll try. [03:00] You sound like you don't know exactly how to do it. There are a couple easy ways. change ssh in your commandline to log in to sftp and then type get /etc/ssh/sshd_config [03:01] or just ssh in and cat it then copy and paste [03:02] start by looking at your server's logs (auth.log) [03:03] @yeats all successful so far. once I installed lxde i installed xinit then firefox,transmission, and now going to try to create my dev environment with rclipse.... Thanks for all of your help. will post any problems for FYI purposes. have a good night ! [03:04] lightweight head on server accomplished ! a bit of a conflict of interest but needed :) [03:04] Are you saying to try to log into the server using sftp? [03:06] I'm saying for you to get the sshd_config, you could use sftp [03:06] Oh, ok. [03:11] Do you want me to copy and paste the doc info in here, or share the file? [03:13] http://pastebin.com/ [03:17] http://pastebin.com/9cgzrWCv [03:19] everything looks fine. get the output of: cat /etc/passwd | grep USERNAME [03:21] AmandaClements,,,:/home/amandaclements:/bin/bash [03:22] amandaclements:x:1001:1001:AmandaClements,,,:/home/amandaclements:/bin/bash [03:23] Saronasilverwolf: what is the command you put in to log in? [03:24] ssh AmandaClements@192.168.1.18 [03:24] remove the capitals [03:24] 192.168.1.18 is the static ip [03:24] ssh amandaclements@ip [03:25] It gave her access. Thank you very much. [03:26] yarp [03:27] Will that work the same with remote desktop? [03:28] m trying to make a samba share follow a specific protocol. When a windows client maps the drive, I want them to be able to read files, execute files, and create new files but I do not want them to be able to delete either folders or files. Will this result in the client being able to open a file and then save a new copy? [03:28] nvm. It did. [03:28] that will work for ssh [03:29] I know its an ACL setting but which one [03:29] sesstreets: you are using extended acl's, right? [03:29] I believe so [03:30] sesstreets: you would know, you have to set that as a mount option [03:30] Oh... yes I do remember it is using extedned acl's [03:31] any clue? [03:31] I don't have much knowledge of them. But it shouldn't be to hard looking through the man page or google :) [03:32] I honestly have spent the last few weeks looking through both. I added a deny: delete, delete files and subfolders [03:32] but that stopped read access [03:33] can you add read? [03:33] add read to what? [03:33] and I think I meant extended attributes, not acl [03:33] you added a deny. Can you add a allow: read [03:34] hold on let me log on to my server [03:36] Ok so, which order do i add it [03:36] as in, do i do deny id = 0 or allow id = 0 [03:36] Try and see what happens. I don't pretend to have much knowledge in xattr, just a little linux/ubuntu experience [03:37] I'm going to do deny first and allow second [03:39] ok, so i can't delete. [03:39] thats what you want, right? [03:40] but now i can't write [03:40] IE i've opened a word doc but i can't even save as [03:41] can you create a file [03:41] just a notepad file? [03:41] nope [03:42] so add a allow: create? [03:43] thats already there [03:43] also word is an interesting case(office as a whole actually) when you open it, it creates a ~myfile file as temporary, then when you save it deletes your myfile and renames your ~myfile to myfile. Think about the issues involved with that. You need rename, delete, and create permissions just to open and save an office file [03:43] I've noticed that [03:44] but if i'm opening a file as read only shouldn't it only be making a new one? [03:44] thats what i want' [03:44] there was a time when i would open a word doc and it would say "this is a read only copy" [03:45] it would make the new file, but when you quit without saving it will delete that temporary file [03:45] so you would need delete perms too [03:45] ugh [03:45] unless there is a newer way to open read only in a more recent office [03:46] that I don't know about [03:46] it lets you do that in 2010 [03:46] it happens when another user has the file open [03:46] it says "this file is currently open by another user would you like to open as read only" [03:46] maybe thast what i've been thinking of :/ [03:48] it probably sees that that ~myfile is there and then does that [03:49] egh [03:49] i think i'm gonna just have to redesign the system in some way [03:49] So I have somewhat the same issue as you [03:50] I don't want people to be able to delete my movies on my file server [03:50] why would they delete it? [03:50] users are idiots [03:50] no i mean [03:50] My solution: chattr -i all of the things everyonce in a while [03:50] just make it read only not? [03:50] what is chattr -i? [03:51] makes things immutable(unchangeable) [03:51] it is pretty neat [03:51] basically has precedence over perms [03:51] i wonder how this plays with word and friends [03:51] wait [03:51] word still wouldn't work [03:51] don't you mean +i? [03:52] but it forces files to be read only - no way to get around it [03:52] i do mean +i good catch :) [03:52] well... let me try [03:52] word would probably open the files, but not be able to change them. So I think that would satisfy your need [03:54] how are you applying it? [03:54] file by file or [03:54] can you do it recursilvy [03:55] oh i see -R [03:55] Always be careful with recursive things. :) [04:01] no this wont work without doing it all the time constantly [04:01] im thankful for the help but i think the only way to do this is to redesign the share structure so that people can only damage their own files [04:01] its much easier to restore a singer user than 40 users [04:01] but thanks === cpg is now known as cpg|away === cpg|away is now known as cpg [10:16] New bug: #1093428 in php5 (main) "Cron job reports unable to load pdo_mysql.so" [Undecided,New] https://launchpad.net/bugs/1093428 [11:36] 이브에 아무 이유 없이 마인크 땅굴 파실분 === cpg is now known as cpg|away === yofel_ is now known as yofel [14:48] New bug: #1070078 in autofs (main) "autofs does not work with directory after mount point" [Undecided,New] https://launchpad.net/bugs/1070078 [15:16] New bug: #1093473 in munin (main) "munin does not depend on libcgi-fast-perl" [Undecided,New] https://launchpad.net/bugs/1093473 [16:00] hi [16:00] :p === Guest51318 is now known as kInOzAwA [17:14] geez, php5 takes AGES to build :/ === kInOzAwA is now known as Guest23375 [17:29] like 15min [17:30] its been at it for at least 30 on the PPA builders... [17:56] eesh... [17:56] patdk-lap, took an hour and 30 minutes to build o.O === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === cpg|away is now known as cpg [20:24] Its already 25 Dec for me hence am wishing all my fellow server team folks happy Christmas :) [21:13] I seem to have forgotten the command to rmdir for a directory that is not empty. rmdir -R -ignore..... /directory does not work [21:15] ah found it: rm -rf /directory for anyone that has the problem in the future === cpg is now known as cpg|away === cpg|away is now known as cpg [21:24] 1 more question: I'm mounting a Raid10 logical volume in /etc/fstab. Should I set the dump to 0 or 1? Is there a purpose to this backing up option? [21:25] Am I invisible or does no one like my questions? :p === a is now known as Guest72098