Synology DSM (Unix) – Can not SSH with another user

On my Synology (DSM 6.2.2-24922), I have 3 users:

  • admin (ssh and login disabled)
  • user1 (my new admin user, recommended by Synology)
  • user2 (not admin)

I can connect ssh throw user1 but not with user2.

I edited / etc / passwd replace / sbin / nologin:

user1: x: 1026: 100: administrator: / var / services / homes / user1: / bin / sh
user2: x: 1035: 100 :: / var / services / homes / user2: / bin / sh

I can knew user2 of user1 and ls his personal directory:

sudo su - user2

But the ssh command always comes back Permission denied:

password user2@my.domain.com:
debug1: successful authentication (password).
Authenticated on my.domain.com ([123.123.123.123]: 22).
debug1: channel 0: new [client-session]
debug1: request no-more-sessions@openssh.com
debug1: Enter interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
Permission denied, please try again.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
The connection to my.domain.com is closed.
Transferred: sent 2204, 2744 bytes received, in 0.1 seconds
Bytes per second: Sent 23710.3, Received 29519.5
debug1: Release status 1

Tracks?

c – Other Linux / Unix build services

I have the obligation to create C code on Alpha Unix and Sun Solaris architectures (with the help of GCC). To do this, in previous years, we used the Ready-to-Run service (rtr.com), but it has become obsolete and I need an alternative …

The problem is that I'm missing a search for a service that allows users to connect, download source code and compile on various Unix / Linux platforms.

What are the best services with Unix / Linux cross-platform build capabilities?

unix – What programming language can I use to do things similar to those that javascript is in a Linux browser?

I am supposed to write a program that performs an Oracle attack on a web server. On paper, I already know how the oracle padding attack works and I also know how to write a program that does it, but unfortunately only in javascript.

I was told that javascript was not allowed for this and that I did not know any programming language that could do similar things.

So, what I need, is a programming language on Linux where the browser is started, a link is used and you visit that link with the browser. There you make small changes of the link (you change some characters of the link) and visit this changed link. And you check what the web server displays ("correct fill" or "incorrect fill").

Javascript can do all these things. What other programming language can do this too, running Linux and, preferably, simply clicking on this program and running what I just described above? So, not something more necessary as an addon for a browser, but simply a file that you have compiled, executed and executed. Which programming language is a good choice here?

benchmarking – How can I scan a server listening to a Unix socket file?

With http servers, I use apache-bench to analyze the server configuration, for example.

ab -T application / json -c 100 -n 10000 http://127.0.0.1:8080/

Server software:
Host name of the server: 127.0.0.1
Server port: 8080

Document path: /
Document length: 22 bytes

Level of competition: 100
Time needed for tests: 1.580 seconds
Full Requests: 10000
Failed requests: 0
Total transferred: 1390000 bytes
HTML transferred: 220000 bytes
Requests per second: 6327.40 [#/sec] (mean)
Time by request: 15,804 [ms] (mean)
Time per request: 0,158 [ms] (average for all simultaneous requests)
Transfer rate: 858.90 [Kbytes/sec] received

Connection time (ms)
average min[+/-sd] median max
Connect: 0 7 2.9 6 22
Treatment: 1 9 3.2 8 31
Waiting: 0 7 2.9 6 29
Total: 3 16 4.9 15 44

Percentage of requests processed within a given time (ms)
50% 15
66% 16
75% 17
80% 18
90% 21
95% 24
98% 30
99% 41
100% 44 (longest request)

I now have a server with is configured to listen to a .sock file, what works, I can send requests and I get answers, but how can I compare the connection to see things like requests per second and other information like the one above?

I ask the question because I have quite a few configurations of the socket server and I want to choose the best configuration based on the real numbers.

UNIX VS Windows – What is the best for software development? | NewProxyLists

I know this could be a sensitive but common question frequently asked online and I understand that these are the reasons why we will choose to use a particular system. Personally, I like to use UNIX OS (Linux) because IMO is easy to use and most SDKs are not proprietary, unlike Windows (MSVC). In addition, compiling cross-platform software on Linux is quite easy on Windows. The only reason I still use Windows is due to the fact that it always has the highest user base.

Would you like to know what you think, do you prefer UNIX (Linux, Mac OSX) or Windows?

linux – smb with three unix users (full access to a folder, b to b and c read-only)

0

Hi, I would like to ask you how I have to configure users and samba folders to make three users 1. User access to a folder (share) full permissions 2. Access bUser to bFolder (share) Full permissions 3 .cuser to access a + bFolder read-only

I want to make a backup like an smb server on my old laptop (I'm going to install lubuntu) with a user and a user to sync photos / videos and a user to stream / view the photos / videos of both. The desired folder structure would be a BACKUPS master folder with two subfolders, aFolder and bFolder. Similarly, when I try to access the smb, is it possible to create three LAN domains, for example domainA, domainB, and Stream, that point exactly to the smb folders that I'm going to create for one? faster access via home devices? thanks in advance.

Robo 3T error No unix socket support on Windows

I'm trying to connect my cloud database from mongodb atlas to robo 3t. I have created a database and entered the connection string. She told me that she was connected to my connection chain, but the next step failed. The message "Unable to load the list of databases" displayed when I clicked on Show error details, the error "Can not connect to MongoDB to […]: 27017 "and" Error: No Unix socket support on Windows. "

unix – the smb server does not appear in the Finder sidebar under Locations

I have installed Samba on Linux.

  • From Finder> Go> "Connect to Server …", I can connect to the server and see my folders.
  • The server appears in the Finder sidebar under Locations.
  • When I dismount the server, it disappears from the sidebar and does not return.

What should I do to make the server always appear in the sidebar when it is running?

I have tried various things that I have found on the web. No joy.

  • macOS 10.14.3
  • samba 2: 4.5.16 + dfsg-1
  • Linux ft 4.14.98-v7 + # 1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU / Linux

unix – Webkit2-gtk build with macports, sys errors / types not found

Trying to build webkit2 with macports, I get

: info: build / usr / bin / cc -c -I / opt / local / include -fno-common
-DPERL_DARWIN -mmacosx-version-min = 10.14 -pipe -Os -isysroot / Applications / Xcode.app / Developer / Platform / MacOSX.platform / Developer / SDKs / MacOSX10.14.sdk
-fno-strict-aliasing -fstack -protector-strong -I / opt / local / include -DPERL_USE_SAFE_PUTENV -m64 -O3 -DVERSION =  "1.85 " -DXS_VERSION =  "1.85 " "-I / opt / local / lib / perl5 / 5.28 / darwin-thread-multi-2level / CORE "SSLeay.c: info: build clang: warning: no sysroot directory of this type: /Applications/Xcode.app/Contents/Developer/Platforms /MacOSX.platform/ Developer / SDKs / MacOSX10.14.sdk & # 39; [-Wmissing-sysroot] : info: build In the included file from SSLeay.xs: 141:
: info: build /opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE/perl.h:684:10:% fatal error: file sys / types.h & # 39; Not found
: info: build #include 
: info: build ^ ~~~~~~~~~~~~~
: info: generation error 1 generated. : info: build do: *** [SSLeay.o] Error 1

is sys / types.h provided by netports, or a third party POSIX-compat package?

unix – Which iWatch mail program does it use by default?

I try to see which iWatch mail program uses default to send alerts after setting contact email addresses for specific alerts. I do not see the email program defined in the configuration files, but I see in the iWatch documentation a discussion about its raw use in the configuration files, which somewhat offends the fact of having contact email addresses if iWatch does not define which email program use. I can provide any of my configuration files as a reference if needed.