similar to: good shell script examples?

Displaying 20 results from an estimated 400 matches similar to: "good shell script examples?"

2011 Jun 23
2
Chicken and egg question: passwd and cronjob
Hi all, Let's say I activate password expiration for every account (including root) for every 90 days. I understand that cronjob for root will fail when the password expires. The question is, if I setup a cronjob every 90 days to renew the root password like: echo diFficulT123 | passwd --stdin root will it work? I mean at second 1 on the 90th day, which will run first? - The cronjob to renew
2009 Sep 18
5
Using variables in virtual resources
Hi. I''ve defined a virtual user "kenneth", and depending on a variable in the node definiton I''d like to add the users to different groups. Consider this example: ###### Code start node "server.example.com" { $server_type = "typeA" realize User[kenneth] } @user {"kenneth": ensure => present, uid => 1000,
2011 Jul 07
4
Changing Host Name
Thanks to all of you who are answering my dumb questions about my new CentOS instgallation. I modified /etc/hosts, as the hostname man page seemed to suggest, and rebooted. The hostname is still localhost. I want to change it to jjb-centos. I also want to change the domain name to abilitiessoft.com Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc.
2012 Mar 03
4
Dovecot GUI
Is there a web-interface to dovecot under CentOS-6? I want to create a top-level folder (ie at the same level as Inbox) but this doesn't seem to be possible from KMail running on a remote Fedora-6 laptop. I was browsing through the dovecot wiki, and I saw some pictures which seemed to be from a dovecot GUI, but I could not find the name of this program. Alternatively, can I simply create
2012 Oct 02
1
patch proposal for ssh-copy-id script
Hello everybody, I write an update version of ssh-copy-id script in order to support sshd non running on standard port 22. So I added another parameter to the script to allow user to specify the daemon port. I've also changed the way the command line parameter are retrieved in order to have a more "robust" way of getting them using getopts. Due to this change host name must be
2010 Sep 28
4
Unitialized constant controller
Hey guys, Here''s an error I get after I hit the submit button on the editing page: NameError in ClassifiedsController#update uninitialized constant ClassifiedsController Help would be appreciated. Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2009 Oct 26
17
Relation to DMTF's CIM
I was wondering how Puppet relates to the DMTF''s CIM. AFAICT there is a clear connection between the two, but I see very little discussion on the topic on the list. Thanks, Cameron. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2008 Jan 31
1
RFC: ssh-copy-id tweaks
I'd like to propose a couple of tweaks to ssh-copy-id: o Change the default ID_FILE from identity.pub to id_dsa.pub or perhaps {id_dsa,id_rsa,identity}.pub to cover all the bases, although the patch below deals only with id_dsa.pub - it would need some more tweaking to deal with more than one (possibly non-existent) file. o If the destination authorized_keys file already contains the
2009 Aug 27
1
[patch] ssh-copy-id: improve error reporting with -i and documentation
The "ssh-copy-id" program requires that the argument to -i end in .pub, by appending that extension itself if it is missing. But if the file with .pub appended does not exist, ssh-copy-id reports the misleading message "ERROR: No identities found". This patch improves the error message by mentioning the name of the actual file that does not exist. Also, document that the
2010 Jan 28
3
Repost: [patch] Automatically add keys to agent
On Mon, Jan 18, 2010 Joachim Schipper wrote: > What this patch does can be described as follows: > > Without: > you at local$ ssh somehost > Enter passphrase for RSA key 'foo': > you at somehost$ exit > $ ssh otherhost > Enter passphrase for RSA key 'foo': > you at otherhost$ > > With: > you at local$ ssh somehost > Enter passphrase for RSA
2002 Jun 26
2
debug output when ssh'ing a remote host
Hi list, I'm not sure whether this (see below) is a "bug" or a feature but as I cannot find any information on this neither in the INSTALL file nor via ./configure --help or somewhere else, I would like to ask you whether there is an answer to my question. Thanx a lot & kind regards - have a nice day, B. Courtin Question: --------- I lately updatet from OpenSSH 3.0.1p1 to
2010 Apr 20
4
How to display the IP on the welcome screen
Hi all, I'm running CentOS 5.4 in a VMware guest, with the host connected to a DHCP enabled LAN When CentOS comes up, I would like to see the IP adress displayed on the welcome screen. This would save me the hassle of logging in the VM, getting the IP, and logging off before finally ssh'ing to the VM. Does anyone have a clue on how to do this ?? Thanks! PS: security is not an issue as
2015 Oct 26
5
ssh freezes
All too often, my ssh session will freeze. I'm fairly certain the problem is at my end. None of the tilde commands work. In particular, ~# and ~. are nonfunctional. I can write to ssh's terminal window from another terminal window. If I kill the ssh process, I can ssh in again. The next time it happens, I will try another ssh session without killing the first one. dmesg did not show me
2007 Jun 21
2
segfault during cbind
The following code results in a seg fault. > sessionInfo() R version 2.6.0 Under development (unstable) (2007-06-21 r42013) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=C attached base packages: [1] stats graphics
2010 May 14
2
ethernet outages C5.4
Hello All, I don't have any reason to believe CENTOS (5.4) is underlying my difficulties but it's what I've got to work with so here's the setup: I have a 2P motherboard with 2 Opteron 2376s and two ethernet ports. The setup is fully virtualized, with Dom0, dom4 and Dom1 up and running. dom4 is attached to a dhcp service on eth0 and has no problems. I've recently
2011 Aug 14
10
Call for testing: OpenSSH-5.9
Hi, OpenSSH 5.9 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains a couple of new features and changes and bug fixes. Testing of the new sandboxed privilege separation mode (see below) would be particularly appreciated. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The
2005 Jul 18
2
RSync and SSH problems
Hey all, First off, I'm new to cygwin, rsync, and actually even ssh. I've used ssh clients many times, but server side I'm a bit of a noob. Anyway, here's my problem... I set up a brand spankin new Windows XP box with only two apps installed: copSSH and rsync. I need to tie down all security as tight as possible. From what I've seen/read, it seems to me the only port I need
2007 Dec 12
1
worker cleanup
I was using an older version of backgroundrb and today I started to play with the most recent release. First up, I''d like to say, thanks so much for this library and thanks for making it more stable. From the looks of things, I think it''s going to be easier to use now than it was several months ago when I first started using it. I''d like to make sure I''m using
2015 Sep 24
2
OT: adding a wifi adapter to openvswitch
On Thu, Sep 24, 2015 at 11:28 AM, Dmitry E. Mikhailov <d.mikhailov at infocommunications.ru> wrote: > Followup > > On 09/24/2015 01:59 PM, C.L. Martinez wrote: >> >> >> https://wiki.debian.org/BridgeNetworkConnections#Bridging_with_a_wireless_NIC? > > They are doing an interesting Ethernet NAT with the following idea: > > Your wireless station has MAC
2008 Oct 07
7
Rails production version not accessible from other machines
Hi, I just deployed my first rails application in production mode using Capistrano and mongrel clusters. Here are the lines in my mongrel_cluster.yml file. cwd: /myrailsdeploymath/current log_file: log/mongrel.log port: "8000" environment: production address: myserver.mydomain.org id_file: tmp/pids/mongrel.pid servers: 3 My development and production machine are the same. When I run