Search Results

Search: Posts Made By: craigp84
Forum: Red Hat 01-20-2012
16,659
Posted By craigp84
chmod 500 .ssh On the server side, That...
chmod 500 .ssh

On the server side, That should do the job. For the above error.

The bit you've highlighted isn't a problem, you've got an rsa key pair you don't need a dsa pair.

Hope this...
Forum: Red Hat 01-20-2012
16,659
Posted By craigp84
debug1: trying public key file...
debug1: trying public key file /home/directory/.ssh/authorized_keys
debug3: secure_filename: checking '/home/directory/.ssh'
debug3: secure_filename: checking '/home/directory'
Authentication...
Forum: Red Hat 01-19-2012
16,659
Posted By craigp84
Ahh sorry, i gave you openssh syntax (my excuse...
Ahh sorry, i gave you openssh syntax (my excuse is we install openssh on solaris 10, we don't use sun's version), for solaris it's:
Forum: Red Hat 01-19-2012
16,659
Posted By craigp84
If there's no entry that's fine, just means sshd...
If there's no entry that's fine, just means sshd uses the default location in the users .ssh dir which is fine.

Go ahead with the verbose output from the sshd.
Forum: Red Hat 01-19-2012
16,659
Posted By craigp84
debug1: Offering public key:...
debug1: Offering public key: /home/directory/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue:...
Forum: Cybersecurity 01-18-2012
12,853
Posted By craigp84
visudo: %usergroup_name...
visudo:

%usergroup_name ALL=/scripts/myscript.ksh /root/config-files/*

* will not allow '/', i.e. the below won't work:

sudo /scripts/myscript.ksh /root/config-files/../../etc/passwd
Forum: Red Hat 01-18-2012
16,659
Posted By craigp84
From the user who you're setting up passwordless,...
From the user who you're setting up passwordless, can you paste the output of:

ssh -vvv user@host

That'll tell us where it's going wrong.

My money's (but i've always been a rotten gambler!)...
Forum: Ubuntu 01-18-2012
3,116
Posted By craigp84
#!/bin/sh ALL_USERS=$( getent passwd | cut...
#!/bin/sh

ALL_USERS=$( getent passwd | cut -f1 -d':' )
for user in $ALL_USERS; do
echo $user
chage -l $user
sleep 1
done
3,874
Posted By craigp84
Hi, you could enable the accounting subsystem,...
Hi, you could enable the accounting subsystem, have a look at the acct(2) and accton manages.
9,263
Posted By craigp84
Hi, For sql server 2005 from linux, you can...
Hi,

For sql server 2005 from linux, you can use FreeTDS.org (http://www.freetds.org/)

Hope this helps
2,254
Posted By craigp84
Thank you jayan, that is perfect.
Thank you jayan, that is perfect.
2,254
Posted By craigp84
Converting a list to X columns of csv (& wrapping a command around it)
Hi All,

Random question, how would you convert a data file from a list like so:

12345
12346
12347
12348
12349
12350
... <snip 100+ lines> ...

to comma separated X columns across:
...
Forum: Solaris 06-01-2008
3,648
Posted By craigp84
Dude, Totally faster to Google this type of...
Dude,

Totally faster to Google this type of issue.

solaris x_mkdir no such file or directory - Google Search...
Forum: AIX 05-31-2008
3,817
Posted By craigp84
Hi, AIX as a desktop? I think it would...
Hi,

AIX as a desktop?

I think it would surely be infinitely better to setup LTSP for desktop use, then use X to launch whatever programs you want from the AIX server.

With SSH keys it is...
Forum: Solaris 04-10-2008
4,164
Posted By craigp84
Here's the best crib sheet for mirroring in...
Here's the best crib sheet for mirroring in Solaris --

Solaris Volume Manager - Mirroring Root, etc. (http://loux.org/kate/techno/SVM.html)

Thank Kate Loux!!
3,414
Posted By craigp84
Shamrock -- that will only set LINE to whatever;s...
Shamrock -- that will only set LINE to whatever;s come from the child. You'd need another line to execute the contents of $LINE

-c
3,414
Posted By craigp84
And the answer is... parent_prompt> eval...
And the answer is...

parent_prompt> eval `./child.sh` # That's backticks, not quotes!

:-)

-c
Forum: Programming 04-02-2008
2,156
Posted By craigp84
Ok so it was my rounding all along! :-) ...
Ok so it was my rounding all along! :-)

Specifically it's this line which was iffy -


partition_size = (int)((global_bounds->upper - global_bounds->lower)/total_thr)+1;


By choosing to do...
4,055
Posted By craigp84
Hi Viper81, You can do this very easily with...
Hi Viper81,

You can do this very easily with the pam_mount facility which is installed as standard on SuSE.

This is configured via the /etc/security/pam_mount.conf file. See "man pam_mount" for...
Forum: HP-UX 04-01-2008
6,385
Posted By craigp84
Plug in a power meter between the PSU and the...
Plug in a power meter between the PSU and the wall socket. Run it for a few hours under an "average" workload.

-c
Forum: Programming 04-01-2008
2,156
Posted By craigp84
Algo to partition a range over workers in C
Hi all,

I'm struggling with an algorithm i've attempted in C.

The idea of the algorithm is to take a given range of numbers, say 1..100, and divide it into n equal chunks, with the final chunk...
2,020
Posted By craigp84
I'm not advocating closing any threads, the...
I'm not advocating closing any threads, the answered flag should be litterally just that, a flag to suggest the thread has been answered. It should not prevent new posts -- as quite rightly pointed...
Forum: Solaris 02-25-2008
2,642
Posted By craigp84
There's a few ways, tcp wrappers or netgroups...
There's a few ways, tcp wrappers or netgroups spring to mind.

A 2 second google would have answered this :rolleyes:

-c
8,630
Posted By craigp84
Hi DejaVu, Yes! :-) Just add a DNT header...
Hi DejaVu,

Yes! :-) Just add a DNT header (Disposition-Notification-To:) to your outgoing mails. Google it, there's tons of example scripts.

Off the top of my head, untested -


cat <<EOM |...
3
14,521
Posted By craigp84
Mirusnet, you're right, there's no normal way to...
Mirusnet, you're right, there's no normal way to change this param on UFS.

From the Sun manual (http://docs.sun.com/app/docs/doc/817-5093/6mkisoq8o?l=ru&a=view) -



Although this is easily...
Showing results 1 to 25 of 66

 
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy