09-03-2008
Yep. I worked for the DOC and before audit we settled on the CIS L1 standard.
It sounds like you guys went way past that.
I feel your pain but admins that have root create huge problems in a naively secure environment.
Say I su root. The local syslog daemon sends a message to the central logserver (which I have no privileges on) that I have assumed root. Voila..I am accountable. After that any message from that host is not reliable...even that I've logged out. That's the gotcha.
If the level of insecurity is such that admins are allowed root or application equivalence then anything they do is a potential systems compromise.
It's about trust..and all security, large and small, is eventually about trust.
9 More Discussions You Might Find Interesting
1. Programming
Please post a C code for implementation of Memory Mapping function.
It should simulate the mmap command. (1 Reply)
Discussion started by: raviviolet13
1 Replies
2. Shell Programming and Scripting
I was looking at a library that lets me parse comma delimited csv files without a problem, but unfortunately, I'm not allowed to make use of that library. I understand that the library probably does something similar to a string split(), but I don't quite know what kind of regular expression is... (1 Reply)
Discussion started by: mrwatkin
1 Replies
3. Programming
Hi all,
Can some one provide me a sample program which measures the performance (both latency and throughput) of TCP and UDP protocol (2 Replies)
Discussion started by: magnetpest2k7
2 Replies
4. Solaris
I'm trying to find an api for Java to send/receive files via sftp. There are some available for purchase out there such as JScape, but I was hoping to find a free one.
Does anyone know of one?
I would also like to find an open source java example application that can send files via sftp.
... (2 Replies)
Discussion started by: JohnRodey
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using SFTP for transferring files to remote server. Below is the snipped i am using for my sftp program
echo "lcd $i_localdir">/tmp/sftp_Batch
echo "cd $i_destdir">>/tmp/sftp_Batch
echo "put $i_filename">>/tmp/sftp_Batch
echo "chmod 644... (2 Replies)
Discussion started by: Ankgne
2 Replies
6. Shell Programming and Scripting
Hi,
We are getting the following error code while connection remote server using sftp command.
sftp user@serrver
Warning: child process (/opt/ssh2/bin/ssh2) exited with code 126.
pls Advise. (2 Replies)
Discussion started by: koti_rama
2 Replies
7. Shell Programming and Scripting
Hi all
I need to write shell script to list out the mounted devices for a particular user. As i am new to shell script please help me. Here the problem is sometime unmounted devices also will be displayed in fstab. How to rectify that? Can anybody help me?
Regards
Ilamathi (0 Replies)
Discussion started by: ilamathi
0 Replies
8. UNIX for Dummies Questions & Answers
So we know that Unix is free source software. And we know that Unix have support for FAT 16 and FAT 32. Does anyone know where can I found that implementation in code ?
Thank you. (2 Replies)
Discussion started by: medolina
2 Replies
9. Shell Programming and Scripting
hi gurus ,
i want the command to get the output in the desired format .
basically to convert columns to rows.
please refer to the attachment. (3 Replies)
Discussion started by: r_t_1601
3 Replies
LEARN ABOUT CENTOS
libssh2_sftp_mkdir_ex
libssh2_sftp_mkdir_ex(3) libssh2 manual libssh2_sftp_mkdir_ex(3)
NAME
libssh2_sftp_mkdir_ex - create a directory on the remote file system
SYNOPSIS
#include <libssh2.h> #include <libssh2_sftp.h>
int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len, long mode);
int libssh2_sftp_mkdir(LIBSSH2_SFTP *sftp, const char *path, long mode);
DESCRIPTION
sftp - SFTP instance as returned by libssh2_sftp_init(3)
path - full path of the new directory to create. Note that the new directory's parents must all exist priot to making this call.
path_len - length of the full path of the new directory to create.
mode - directory creation mode (e.g. 0755).
Create a directory on the remote file system.
RETURN VALUE
Return 0 on success or negative on failure. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative
number, it isn't really a failure per se.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
LIBSSH2_ERROR_SOCKET_TIMEOUT -
LIBSSH2_ERROR_SFTP_PROTOCOL - An invalid SFTP protocol response was received on the socket, or an SFTP operation caused an errorcode to be
returned by the server.
SEE ALSO
libssh2_sftp_open_ex(3)
libssh2 0.15 1 Jun 2007 libssh2_sftp_mkdir_ex(3)