Auteur Topic: WinSCP root access DSM7.  (gelezen 3610 keer)

Offline BZwart

  • Bedankjes
  • -Gegeven: 108
  • -Ontvangen: 29
  • Berichten: 199
WinSCP root access DSM7.
« Gepost op: 04 september 2021, 16:41:40 »
Ik krijg root access met WinSCP met DSM7 niet werkend.
Via Putty volgende commando uitgevoerd "echo admin ALL = NOPASSWD: ALL > /etc/sudoers.d/prive"

Maar als ik Shell=>sudo -i in WinSCP selecteer krijg ik onderstaande fout melding.

Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
Ik heb gecontroleerd of "/etc/sudoers.d/prive" is aangemaakt met "admin ALL = NOPASSWD" daarin, dat klopt allemaal.
Wat zie ik over het hoofd?

EDIT: Opgelost, stomme fout, "MYUSERNAME ALL = NOPASSWD" was de oplossing.

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #1 Gepost op: 04 september 2021, 17:06:55 »
Vreemd, bij mij lukt het namelijk wel in VMM DSM7.
53942-0


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #2 Gepost op: 04 september 2021, 17:09:15 »
Oh...wacht ff:
Citaat
Maar als ik Shell=>sudo -i in WinSCP selecteer krijg ik onderstaande fout melding.
Dat doe je toch in WinSCP setup.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #3 Gepost op: 04 september 2021, 17:10:54 »
FF een plaatje:


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #4 Gepost op: 04 september 2021, 17:22:40 »
Citaat
Maar als ik Shell=>sudo -i in WinSCP selecteer
sudo -i kan je niet selecteren, dat moet je ingeven.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #5 Gepost op: 04 september 2021, 17:31:40 »
EN....niet vergeten om op te slaan. ;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline BZwart

  • Bedankjes
  • -Gegeven: 108
  • -Ontvangen: 29
  • Berichten: 199
Re: WinSCP root access DSM7.
« Reactie #6 Gepost op: 04 september 2021, 17:35:09 »
Het is inmiddels opgelost.
Ik dacht dat admin in "admin ALL = NOPASSWD" de groep admin was maar het is de user. Ik gebruik user admin niet.

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #7 Gepost op: 04 september 2021, 17:41:23 »
Dat staat ook in m'n tut:
Citaat
19 - Gebruiker admin (kan/mag ook een andere gebruiker zijn met administrator rechten).
;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Smaus

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 33
Re: WinSCP root access DSM7.
« Reactie #8 Gepost op: 05 oktober 2021, 16:49:32 »
heb mijn synology opnieuw geïnstalleerd (DSM7) maar nu blijf ik in winscp de volgende melding houden

Fout tijdens het overslaan van het opstartbericht. Uw shell is mogelijk niet compatibel met de toepassing (BASH wordt aangeraden).

  • Mijn Synology: ds220+
  • HDD's: 2

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7769
  • Berichten: 43.096
  • FIFO / LIFO
    • Truebase
Re: WinSCP root access DSM7.
« Reactie #9 Gepost op: 05 oktober 2021, 17:00:35 »
In mijn tut staat:
echo admin ALL = NOPASSWD: ALL > /etc/sudoers.d/priveEn dat werkt ook met DSM7.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Smaus

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 33
Re: WinSCP root access DSM7.
« Reactie #10 Gepost op: 05 oktober 2021, 17:39:59 »
In mijn tut staat:
echo admin ALL = NOPASSWD: ALL > /etc/sudoers.d/priveEn dat werkt ook met DSM7.


Thanks,

na een herstart van de synology werkt het.
  • Mijn Synology: ds220+
  • HDD's: 2


 

Winscp

Gestart door burdie_123Board Algemeen

Reacties: 20
Gelezen: 3476
Laatste bericht 23 januari 2022, 19:58:48
door Birdy
Foutmelding bij gebruik met WinSCP

Gestart door arieannekeBoard FTP, NFS and Samba Server

Reacties: 7
Gelezen: 4169
Laatste bericht 17 januari 2010, 13:26:29
door Anonymous
WINSCP (vanaf versie DSM 3.1

Gestart door RrrrBoard FTP, NFS and Samba Server

Reacties: 11
Gelezen: 7764
Laatste bericht 28 maart 2012, 13:51:42
door Goner
Newbie vraag Telnet (WinSCP)

Gestart door tjBoard Optware / IPKG / Telnet

Reacties: 2
Gelezen: 5371
Laatste bericht 25 april 2015, 16:21:54
door tj
VERPLAATST: Krijg het WinSCP inloggen niet aan de praat.

Gestart door BirdyBoard SABnzbd (usenet)

Reacties: 0
Gelezen: 1510
Laatste bericht 14 augustus 2016, 13:29:31
door Birdy