Re: [CentOS] Applications on different deskops at startup
On Friday 25 November 2011 00:31:09 Ljubomir Ljubojevic wrote: > Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše: > > On 24/11/11 22:27, Tony Molloy wrote: > >> I have several desktops with applications running on them, > >> mainly terminals. At login all the terminals start on desktop > >> 1. How do I get them to start on the desktop they were running > >> on at logoff. That's how it worked on Fedora 13/14 so it must > >> be popssible ;-) just can't find the magic. > > > > You might want to have a look at 'devilspie'. That's what I use > > on F14 to control startup windows. Don't know if that's in C6 > > by default though. > > > > Kal > > RPMForge/Repoforge repository has devilspie package. Thanks for the various suggestions I'll try them out today. I just thought that since CentOS 6 was based on Fedora 13 that it would just be some setting that I had missed. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C5: text editor with file compare?
Hi List, I'm looking for an editor with file compare capabilities. Gedit and kate don't seem to do this? Thx Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5: text editor with file compare?
On Fri, Nov 25, 2011 at 5:37 PM, Rainer Traut wrote: > I'm looking for an editor with file compare capabilities. > Gedit and kate don't seem to do this? Try "Diffuse Merge Tool". Although it's main purpose is to "compare" and "merge", we can use it as editor too. -- http://linux3.arinet.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Forget SMB password immediately
El jue, 24-11-2011 a las 07:00 -0500, Eric Coleman escribió: > Dear Guitart, > > You have Microsoft Windows on your mind . . . Microsoft has left the > building! Maybe you are right but I'm not asking nothing that I can't do with Debian, so I supose that there are one way of do it with CentOS. Thank you. -- Francesc Guitart ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Forget SMB password immediately
El mié, 23-11-2011 a las 10:50 -0800, John R Pierce escribió: > On 11/23/11 3:11 AM, Guitart Francesc wrote: > > here I connect through SMB port 445 > > why in dogs name are you using SMB, a Microsoft Windows protocol, for > Unix to NAS file sharing? Unix systems should use NFS for file > sharing. netbios is a tangled mess of poorly planned protocols with > extensions on the extensions, and warts on the warts (ports 137/138/139 > were old NetBIOS, using NetBIOS-over-TCP aka NBT as the transport, while > port 445 is the newer native CIFS protocol introduced around Windows2000 > time). > > with NFS, you'd mount the backup directory somewhere, like /nfsbackups > just once at bootup time and each user would have their own directory in > it, /nfsbackusp/fred (or whatever) and only have read/write access to > that directory, managed via standard unix style chmod, chown ... Thanks for your comment. You're right, but the problem arises with your solution is that all users are using the CentOS machine login locally with the same user. So, correct me if I'm wrong, I think I can not mount the volume for each user without the others have access. On the other hand, what maneges SMB passwords to tell don't remember it? ¿PAM, smbclient/smbpasswd, gnome-vfs? -- Francesc Guitart ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5: text editor with file compare?
Am 25.11.2011 10:46, schrieb Fajar Priyanto: > On Fri, Nov 25, 2011 at 5:37 PM, Rainer Traut wrote: >> I'm looking for an editor with file compare capabilities. >> Gedit and kate don't seem to do this? > > Try "Diffuse Merge Tool". > Although it's main purpose is to "compare" and "merge", we can use it > as editor too. > Oh nice, that's really good. Thx Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5: text editor with file compare?
On 11/25/2011 10:37 AM, Rainer Traut wrote: > Hi List, > > I'm looking for an editor with file compare capabilities. > Gedit and kate don't seem to do this? > > Thx > Rainer > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos Perhaps meld is usable for your purpose even it is more for comparing. Fabien ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5: text editor with file compare?
In article <4ecf61ee.4030...@gmx.de>, Rainer Traut wrote: > Hi List, > > I'm looking for an editor with file compare capabilities. > Gedit and kate don't seem to do this? Try vimdiff. It is vim with file comparison in side-by-side windows. I use it a lot. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Forget SMB password immediately
On Fri, 25 Nov 2011, Guitart Francesc wrote: > Thanks for your comment. You're right, but the problem arises with your > solution is that all users are using the CentOS machine login locally > with the same user. So, correct me if I'm wrong, I think I can not mount > the volume for each user without the others have access. Don't correct one mistake by making another. Once you've got all users sharing the same user account, you might as well throw away security anyway. Unless you're saying that this account is something like guest with no password where the account is completely deleted when you logout. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get RHEL EUS source rpm.
2011/11/25 Johnny Hughes : > Red Hat only publishes the Extended Support Source Code to the people > who are subscribers of Extended Support. Thank you for your info. It's too bad. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Forget SMB password immediately
On Wed, Nov 23, 2011 at 7:59 PM, Guitart Francesc wrote: > In fact I have explained wrong. This time I log in from any window File > >> Go to .. (I don't know the exact translation in english cause I'm in > one french computer) and type smb://nas_name. > > I can access to the NAS and I can enter all the shared folders of all > users that I previously had been logged from "Connect to server" > 1) How do you arrange the directory structures of the share? Is it like: /data/share/userA /data/share/userB ? 2). How do you setup the share in smb.conf? Is it like: [data] path=/data/share ? If yes to the above the only protection you can give is by filesystem permission and ownership, not through samba. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5: text editor with file compare?
Rainer Traut wrote: > Hi List, > > I'm looking for an editor with file compare capabilities. > Gedit and kate don't seem to do this? emacs does this ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS fileserver migrating to ZFS appliance
Hey folks, I've got a CentOS / RHEL (5.x) environment and am in the process of migrating the 5.3 file server over to an Oracle/Sun 7120 appliance. I want to keep my main 5.3 server as our NIS server but am moving NFS and Samba functions over to the appliance. NFS was a no brainer as one can imagine. Samba seems a bit trickier because of the authentication requirements in the ZFS server. They seem to want a domain controller which we don't have. Has anyone been here recently and can help with how to config the appliance for Samba but to authenticate from NIS ? thanks, -Alan -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
I'm trying to update from the cr repo, but yum-plugin-fastestmirror gets it totally wrong; it selects a mirror in .hk that deliveres bytes per second, and as far as I can tell, most or all of the timedhosts.txt entries are in the Middle or Far East. What's going on? Nobody mirroring cr in other parts of the world? mirrors.ta139.com 999 centos.communilink.net 999 mirrors.hns.net.in 999 centos.aol.in 999 virror.hanoilug.org 999 mirror.averse.net 999 mirror.nus.edu.sg 999 ftp.cuhk.edu.hk 999 ftp.iitm.ac.in 999 mirror-fpt-telecom.fpt.net 999 centos.vr-zone.com 999 mirrors.btte.net 999 mirrors.digipower.vn 999 centosmirror.go4hosting.in 999 ftp.oss.eznetsols.org 0.220621109009 centos.01link.hk 999 mirrors.ispros.com.bd 999 mirrors.163.com 999 mirror.vietoss.com 999 mirror.neu.edu.cn 999 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
From: Lars Hecking > What's going on? Nobody mirroring cr in other > parts of the world? Dunno but in the release notes: "- Baseurl for the CR repo is set to only use centos.org internal machines, this is to reduce the amount of time we need to spend in seeding and then managing external mirrors." Doesn't that mean that it is not mirrored? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
John Doe writes: > From: Lars Hecking > > > What's going on? Nobody mirroring cr in other > > parts of the world? > > Dunno but in the release notes: > > "- Baseurl for the CR repo is set to only use centos.org internal > machines, this is to reduce the amount of time we need to spend in > seeding and then managing external mirrors." > > Doesn't that mean that it is not mirrored? When I log into one of our machines in the US and try it there, timedhosts.txt very definitely lists US mirrors; various .edu, kernel.org, and so on. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On Fri, Nov 25, 2011 at 4:00 PM, Alan McKay wrote: > Hey folks, > > I've got a CentOS / RHEL (5.x) environment and am in the process of > migrating the 5.3 file server over to an Oracle/Sun 7120 appliance. > > I want to keep my main 5.3 server as our NIS server but am moving NFS > and Samba functions over to the appliance. > > NFS was a no brainer as one can imagine. Samba seems a bit trickier > because of the authentication requirements in the ZFS server. They > seem to want a domain controller which we don't have. > > Has anyone been here recently and can help with how to config the > appliance for Samba but to authenticate from NIS ? > > thanks, > -Alan > > -- > > I don't know that particular NAS, but does it allow you to setup an anonymous SMB user? If not, then setup a normal SMB share on the NAS and mount it on the CentOS server, then rsync the data across -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
On 11/25/2011 04:33 PM, Lars Hecking wrote: >> Doesn't that mean that it is not mirrored? it would be in the mirrors, but the baseurl is set to mirror.centos.org, and we dont serve up CR from mirrorlist.centos.org > > When I log into one of our machines in the US and try it there, > timedhosts.txt very definitely lists US mirrors; various .edu, > kernel.org, and so on. most machines would have base and updates and extras enabled, so you will see those being listed as mirror lists are handed out. open a bugreport at bugs.centos.org if you think the geoip lookup is getting it wrong ( include the ip you are connecting from ). - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On 11/25/11 6:00 AM, Alan McKay wrote: > Has anyone been here recently and can help with how to config the > appliance for Samba but to authenticate from NIS ? I've never heard of Samba authenticating off NIS, as Windows (SMB/CIFS) and Unix (PAM, NIS, etc) use different incompatible password hashes. on a pure Samba system that doesn't have an external authentication system such as Active Directory, I've always had to use smbpasswd to setup the SMB passwords for the 'windows' users. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
> I've never heard of Samba authenticating off NIS, as Windows (SMB/CIFS) > and Unix (PAM, NIS, etc) use different incompatible password hashes. on > a pure Samba system that doesn't have an external authentication system > such as Active Directory, I've always had to use smbpasswd to setup the > SMB passwords for the 'windows' users. Yeah, this is what I'm afraid of - that I'll have to install some directory services. I'm going to start off next week with a call to Oracle. Just figured I'd ping the list to see if maybe someone had been here. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
p.s. even if I could get it to authenticate SMB from the current 5.3 box I'd be happy. If I have to go the directory services route I can only say that I hope it has improved a lot since the last time I installed it 18 months ago - though that was 389-ds ... -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On 11/25/11 10:23 AM, Alan McKay wrote: > p.s. even if I could get it to authenticate SMB from the current 5.3 > box I'd be happy. > > If I have to go the directory services route I can only say that I > hope it has improved a lot since the last time I installed it 18 > months ago - though that was 389-ds ... I've been sniffing at FreeIPA, which is a bundle based on the latest version of 389, with a bunch more stuff around it to allow both windows and 'nix systems to authenticate, also stuff for policy management, etc. It looks really interesting, but I haven't had a go at setting it up yet. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
> I don't know that particular NAS, but does it allow you to setup an > anonymous SMB user? > > If not, then setup a normal SMB share on the NAS and mount it on the CentOS > server, then rsync the data across Moving the data is the easy part. The problem here is that currently SMB runs on the 5.3 box which is also where NIS runs, and people authenticate from there. The ZFS appliance is going to be the new home for SMB but it does not have a native authentication system and seems to want a pretty elaborate one, not something nice and simple like the Linux Samba software. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6.1- RPS/RFS kernel patch
Hi, I'm looking into the RPMs changelog for the 6.0CR kernel, and didn't find mention of receive packet steering (RPS) and receive flow steering (RFS). This was included on RHEL6.1, is it on the CR repo already? Thanks in advance, Antonio. -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows | | Universidade Estadual de Maringá - Brasil| what evil lurks in the | | NPD - Núcleo de Processamento de Dados | Heart of Men!" | | E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!! | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ "Real Programmers don’t need comments — the code is obvious." -- Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.1- RPS/RFS kernel patch
On 11/25/2011 07:35 PM, Antonio da Silva Martins Junior wrote: > I'm looking into the RPMs changelog for the 6.0CR kernel, and didn't > find mention of receive packet steering (RPS) and receive flow steering (RFS). > This was included on RHEL6.1, is it on the CR repo already? what kernel ver was it included in RHEL ? - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.1- RPS/RFS kernel patch
On Fri, Nov 25, 2011 at 11:49 AM, Karanbir Singh wrote: > On 11/25/2011 07:35 PM, Antonio da Silva Martins Junior wrote: >> I'm looking into the RPMs changelog for the 6.0CR kernel, and didn't >> find mention of receive packet steering (RPS) and receive flow steering >> (RFS). >> This was included on RHEL6.1, is it on the CR repo already? > > what kernel ver was it included in RHEL ? It is mentioned in the 6.1 Release Notes, so must be in the 6.1 GA kernel. I saw 'RFS' in the changelog but not 'RPS'. But both are supposed to be in the 6.1 kernels. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
> most machines would have base and updates and extras enabled, so you > will see those being listed as mirror lists are handed out. > > open a bugreport at bugs.centos.org if you think the geoip lookup is > getting it wrong ( include the ip you are connecting from ). Do you know how exactly geoip lookup is handled, and whether it changed recently? I just went to check my CentOS5 systems to prove there is a difference, and alas, they too now default to Asia :-/ This was not the case up to a few days ago. In fact, I just removed a good timedhosts.txt from two days ago, ran yum update, and found the same Asian hosts as on the CentOS6 box. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Pipes (fifos) not working in concurrently
Hello I have a large list of URLs (from a database, generated automatically during tests) that I want to download using several wget processes at the same time. With our internal web servers, this will be a lot faster than downloading the pages one at a time with a single process. So I create 20 pipes in my script with `mkfifo´ and connect the read end of each one to a new wget process for that fifo. The write end of each pipe is then connected to my script, with shell commands like `exec 18>>fifo_file_name´ Then my script outputs, in a loop, one line with an URL to each of the pipes, in turn, and then starts over again with the first pipe until there are no more URLs from the database client. Much to my dismay I find that there is no concurrent / parallel download with the child `wget´ processes, and that for some strange reason only one wget process can download pages at a time, and after that process completes, another one can begin. My script does feed *all* the pipes with data, one line to each pipe in turn, and has all the pipes written and closed by the time the first child process has even finished downloading. Do you know why my child processes manifest this behavior of waiting in turn for each other in order to start reading the fifo and download ? I figure it must be something about the pipes, because if I use regular files instead (and reverse the order: first write the URLs, then start wget to read them) than the child processes run in parallel as expected. The child processes also run in parallel if I open the write end of the pipes first, and the start the wget processes for the read end. They even run in parallel with my pipes, but I could see them run like this only for once in all my attempts. I do not know what was special about that attempt, it happened at the beginning of the day, and the computers where not restarted nor logged off over night. The pipes are created and deleted on ever run, with mkfifo and rm. Is there something special about fifos to make them run in sequence if I open the read end first ? My script is attached here, I believe it is nicely formatted and clear enough. Thank you, Timothy Madden #!/bin/sh set -e -x -v set -o pipefail || true # set some local defaults web_server="${web_server:-'appserver'}" db_server="${db_server:-'replication1'}" database="${database:-'xe150'}" cubrid="${cubrid:-'false'}" # parse command line case "$#" in (0) echo Syntax: echo " $0" "webserver[:port] [ dbserver[:port] [db] ]" echo " $0" "webserver[:port] db@dbserver[:port]" echo exit 1;; (1) if test "$1" = "--help" -o "$1" == "--usage" then "$0" exit else web_server="$1" fi;; (2) web_server="$1" if echo "$2" | grep '@' -l>/dev/null then cubrid=true db_server="$2" database="$(echo "$2" | sed 's#^\([a-zA-Z_0-9]*\)@.*$#\1#')" else db_server="$2" fi;; (3) web_server="$1" db_server="$2" database="$3";; (*) "$0" exit 1;; esac if echo "$db_server" | grep ':' -l>/dev/null then db_port="$(echo "$db_server" | sed 's#^[a-zA-Z0-9.]*:\([0-9]\{2,5\}\)$#\1#')" db_server="$(echo "$db_server" | sed 's#^\([a-zA-Z0-9.]*\):[0-9]\{2,5\}$#\1#')" else db_port=3306# default mysql port number fi # generate a set of pipes/processes sets= a=0 b=0 while [ $a -lt 2 ] # 20 processes (and pipes) do while [ $b -lt 10 ] do sets="${sets}${sets:+ }$a$b" b=$(($b+1)) done b=0 a=$(($a+1)) done ( # remove all pipes on exit trap 'rm -rf "/tmp/visit_boards"' EXIT mkdir "/tmp/visit_boards" pids_list= # create pipes # start wget processes for the read ends of the pipes # open shell output file descriptors for the write ends of the pipes for p in $sets do fdp="${p#0}"# convert 08 to 8 fdp=$(($fdp+5))# first 3 file descriptiors are reserved, so start with the 4th fdp_bit=$(($fdp % 2)) # create pipe mkfifo "/tmp/visit_boards/pipe_$p" # connect a new wget process to the read end of the pipe wget --server-response --spider --output-file="visit_$p.log" --input-file="/tmp/visit_boards/pipe_$p" & pids_list="$pids_list${pids_list:+ }$!" # connect the current shell process to the write end of the pipe echo exec "$fdp>>/tmp/visit_boards/pipe_$p">"/tmp/visit_boards/shell_script_pipe" . "/tmp/visit_boards/shell_script_pipe" done # output URLs to the pipes, one line into each pipe in turn if $cubrid then csql -u dba -p arniarules --command='SELECT "domain" FROM xe_sites WHERE site_srl != 0' "$db_server" | sed -n 's#^[[:space:]]*'\''\([a-zA-Z0-9_]*\)'\''$#\1#p' else echo "SELECT domain FROM xe_sites WHERE site_srl != 0" | mysql -u dba --password=arniarules -h "$db_server" -P "$db_port"
Re: [CentOS] CentOS6 yum-plugin-fastestmirror spectacular failure
On 11/25/2011 08:15 PM, lheck...@users.sourceforge.net wrote: > Do you know how exactly geoip lookup is handled, and whether it changed > recently? I just went to check my CentOS5 systems to prove there is a > difference, and alas, they too now default to Asia :-/ This was not > the case up to a few days ago. In fact, I just removed a good timedhosts.txt > from two days ago, ran yum update, and found the same Asian hosts as on > the CentOS6 box. its the maxmind geoip db - you should check there to make sure your IPs are being reported correctly. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On 11/25/11 10:46 AM, Alan McKay wrote: > The problem here is that currently SMB runs on the 5.3 box which is > also where NIS runs, and people authenticate from there. > > The ZFS appliance is going to be the new home for SMB but it does not > have a native authentication system and seems to want a pretty > elaborate one, not something nice and simple like the Linux Samba > software. if you're running multiple windows systems with a server and DONT have centralized authentication, you have a mess. if you're not running windows systems, then why are you using SMB ? NFS is the native file sharing system for Unix and Linux systems. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
> if you're running multiple windows systems with a server and DONT have > centralized authentication, you have a mess. > > if you're not running windows systems, then why are you using SMB ? > NFS is the native file sharing system for Unix and Linux systems. It is a bit of an oddball arrangement. We are a scientific research lab within a hospital environment. Most people use Linux or Mac - and those who do use Windows connect to the hospital domain. We don't have any control over that domain at all - I support the researchers and am independent from central IT. When the Windows users connect to the 5.3 box via SMB they use a local username and password on the 5.3 box, not their central domain credentials. Hmmm, I probably know what the answer will be, but I could always ask the hospital to let me connect it to the domain. Though that could present security risks that I don't want to deal with. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On Fri, 2011-11-25 at 19:50 -0500, Alan McKay wrote: > > if you're running multiple windows systems with a server and DONT have > > centralized authentication, you have a mess. > > > > if you're not running windows systems, then why are you using SMB ? > > NFS is the native file sharing system for Unix and Linux systems. > > It is a bit of an oddball arrangement. We are a scientific research > lab within a hospital environment. Most people use Linux or Mac - and > those who do use Windows connect to the hospital domain. We don't > have any control over that domain at all - I support the researchers > and am independent from central IT. When the Windows users connect to > the 5.3 box via SMB they use a local username and password on the 5.3 > box, not their central domain credentials. I would think you would be better off using LDAP and at least you can unify the Linux/Windows/(possibly Macintosh) logins from one single authentication source (LDAP). There are migration scripts for Linux/NIS - (openldap-servers) If there's not too many samba users, you could copy/paste their hashed passwords from the backend (presuming that you are using smbpasswd or tdp passdb in samba). There are some tools you can use to create/modify users and simultaneously change their passwords for both Linux/Windows logins and make them the same password. You could also make Samba & LDAP a Windows domain controller. I mention possibly Macintosh because it is possible to have Mac's authenticate against LDAP too but I suspect that you are using all local logins on both Mac's and Windows. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On 11/25/11 4:50 PM, Alan McKay wrote: > Hmmm, I probably know what the answer will be, but I could always ask > the hospital to let me connect it to the domain. Though that could > present security risks that I don't want to deal with. yes, that is the answer, and actually, no, there's no security risks. your server will just be using the domain to authenticate windows users, and they'll see it as a 'single signon' same as any other "windows" server. other authentication, like local unix administration, NFS users will proceed the same as before. to 'join the domain', the windows domain admins will just need to create a computer account for your server, and then it 'joins' the domain, this involves an automated private key exchange sequence... it can be done several different ways, at the whims of your windows domain admins. one method, a domain admin needs to enter his domain credentials (domainname\username, password) once into your server, and it joins (the admin credentials are only used once and not saved). the other method, they precreate the computer account on the domain, and you then join your host and it exchanges those keys previously mentioned. this establishes a limited 'trust' relation, where basically your server trusts the domain server(s) to do windows user authentication, and the domain servers allow your windows server to do this. nothing else. its actually all quite well thought out, based on Kerberos and LDAP. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS fileserver migrating to ZFS appliance
On Fri, Nov 25, 2011 at 10:00 PM, Alan McKay wrote: > I've got a CentOS / RHEL (5.x) environment and am in the process of > migrating the 5.3 file server over to an Oracle/Sun 7120 appliance. Hi Alan, sorry for the OT. I'm very much interested on the 7120. How much space do you have on it and what is the price? The oracle web doesn't show the price. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: ZFS appliance Oracle / Sun 7120
On Fri, Nov 25, 2011 at 8:11 PM, Fajar Priyanto wrote: > Hi Alan, sorry for the OT. > I'm very much interested on the 7120. > How much space do you have on it and what is the price? I don't know the price - I've only been here a few weeks. I'll have to check when I'm back at work for details on it - don't have my VPN login yet. I'm going into work tomorrow to migrate another filesystem to the ZFS so I'll try to remember then. I am pretty happy with it so far - nice system with a relatively simple but powerful GUI. There is also a cryptic command line access level for managing it. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ZFS appliance Oracle / Sun 7120
On Sat, Nov 26, 2011 at 9:16 AM, Alan McKay wrote: > I don't know the price - I've only been here a few weeks. > I'll have to check when I'm back at work for details on it - don't > have my VPN login yet. I'm going into work tomorrow to migrate > another filesystem to the ZFS so I'll try to remember then. > > I am pretty happy with it so far - nice system with a relatively > simple but powerful GUI. There is also a cryptic command line access > level for managing it. I'm looking forward for the info. I cannot implement quota on my fileserver due to convention. And this results in storage capacity issue. Luckily most of the files stored by the users are text files so compression helps a lot. I've been using lessFS and zfs-fuse and pretty satisfied. It saves space a lot. I just thought that the Zfs appliance would be even more beneficial for my need. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: ZFS appliance Oracle / Sun 7120
On 11/25/11 5:16 PM, Alan McKay wrote: >> I'm very much interested on the 7120. >> > How much space do you have on it and what is the price? > I don't know the price - I've only been here a few weeks. if you have to ask, its too expensive. believe me.when Sun first announced that 7000 stuff, the prices were on their webpile, pre-Orrible... scary expensive. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pipes (fifos) not working in concurrently
This really belongs on a shell list rather than the centos list, but: On Fri, Nov 25, 2011 at 1:05 PM, Timothy Madden wrote: > > So I create 20 pipes in my script with `mkfifo´ and connect the read end of > each one to a new wget process for that fifo. The write end of each pipe is > then connected to my script, with shell commands like `exec > 18>>fifo_file_name´ > > Then my script outputs, in a loop, one line with an URL to each of the > pipes, in turn, and then starts over again with the first pipe until there > are no more URLs from the database client. > > Much to my dismay I find that there is no concurrent / parallel download > with the child `wget´ processes, and that for some strange reason only one > wget process can download pages at a time, and after that process completes, > another one can begin. I believe the problem is with creating all the fifos and their readers first and then creating the writers. What happens is that you create wget #1, which has some file descriptors associated with both it and the parent shell. Next you create wget #2, which (because it was forked from the parent shell) shares all the file descriptors that the shell had open to wget #1, e.g., including the input to the fifo. Repeat for all the rest of the wget. By the time you have created the last one, each of them has a set of descriptors shared with every other that was created ahead of them. Thus, even though you write to the fifo for wget #2 and close it from the parent shell, it doesn't actually see EOF and begin processing the input until the corresponding descriptor shared by wget #1 is closed when wget #1 exits. wget #3 then doesn't see EOF until #2 exits (#3 would have waited for #1, too, except #1 is already gone by then). Then #4 waits for #3, etc. So you're either going to need to do a lot more clever descriptor wrangling to make sure wget #1 is not holding open any descriptors visible to wget #2, or you're going to have to use a simpler concurrency scheme that doesn't rely on having all those fifos opened ahead of time. > The child processes also run in parallel if I open the write end of the > pipes first, and the start the wget processes for the read end. Probably you inadvertently resolved the shared open descriptor problem by whatever change you made to the script to invert that ordering. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Add new host to /etc/libvirt/qemu/networks/default.xml without virsh net-destroy?
Hi, When I setup a new KVM guest and add it's mac address to the default NAT'ted network, it would be nice to have that become active without having to destroy the network and recreate it - as that tends to make the other guests rather upset. Anybody knows how to achieve that? I've tried virsh net-edit but that doesn't seem to do anything useful :-( BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Pipes (fifos) not working in concurrently
On Fri, Nov 25, 2011 at 6:34 PM, Bart Schaefer wrote: > > Next you create wget #2, which (because it was forked from the parent > shell) shares all the file descriptors that the shell had open to wget > #1, e.g., including the input to the fifo. Repeat for all the rest of > the wget. By the time you have created the last one, each of them has > a set of descriptors shared with every other that was created ahead of > them. > > Thus, even though you write to the fifo for wget #2 and close it from > the parent shell, it doesn't actually see EOF and begin processing the > input until the corresponding descriptor shared by wget #1 is closed > when wget #1 exits. I wrote that backwards. Actually I think the *last* one (#20) exits first, and then #19, and so on down to #1 ... but the descriptor management issue is the same. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos