Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: 'groups' command issue

Please read documentation.
mulanee

'groups' command issue

Hi,
When I connect on my router, I get a message of error 127 due to a bad groups command.
This is my log:
. 2006-01-02 22:21:06.000 --------------------------------------------------------------------------
. 2006-01-02 22:21:06.000 WinSCP Version 3.8.0 (Build 312) (OS 5.0.2195 Service Pack 4)
. 2006-01-02 22:21:06.000 Login time: lundi 2 janvier 2006 22:21:06
. 2006-01-02 22:21:06.000 --------------------------------------------------------------------------
. 2006-01-02 22:21:06.000 Session name: root@serveur
. 2006-01-02 22:21:06.000 Host name: 10.0.0.1 (Port: 22)
. 2006-01-02 22:21:06.000 User name: root (Password: Yes, Key file: No)
. 2006-01-02 22:21:06.000 Transfer Protocol: SCP
. 2006-01-02 22:21:06.000 SSH protocol version: 2; Compression: No
. 2006-01-02 22:21:06.000 Agent forwarding: Yes; TIS/CryptoCard: Yes; KI: Yes; GSSAPI: No
. 2006-01-02 22:21:06.000 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-01-02 22:21:06.000 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-01-02 22:21:06.000 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-01-02 22:21:06.000 SFTP Bugs: -,-,-
. 2006-01-02 22:21:06.000 Proxy: none
. 2006-01-02 22:21:06.000 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-01-02 22:21:06.000 Shell: default, EOL: 0
. 2006-01-02 22:21:06.000 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-01-02 22:21:06.000 Cache directory changes: Yes, Permanent: Yes
. 2006-01-02 22:21:06.000 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-01-02 22:21:06.000 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-01-02 22:21:06.000 --------------------------------------------------------------------------
. 2006-01-02 22:21:06.000 Looking up host "10.0.0.1"
. 2006-01-02 22:21:06.000 Connecting to 10.0.0.1 port 22
. 2006-01-02 22:21:06.031 Server version: SSH-2.0-dropbear_0.44test4
. 2006-01-02 22:21:06.031 We claim version: SSH-2.0-WinSCP_release_3.8
. 2006-01-02 22:21:06.031 Using SSH protocol version 2
. 2006-01-02 22:21:06.046 Using Diffie-Hellman with standard group "group1"
. 2006-01-02 22:21:06.046 Doing Diffie-Hellman key exchange
. 2006-01-02 22:21:08.234 Host key fingerprint is:
. 2006-01-02 22:21:08.234 ssh-rsa 1040 8d:06:8e:00:64:b5:2a:c5:a5:15:ab:9d:c0:b1:1b:49
. 2006-01-02 22:21:08.234 Initialised AES-128 client->server encryption
. 2006-01-02 22:21:08.234 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-01-02 22:21:08.234 Initialised AES-128 server->client encryption
. 2006-01-02 22:21:08.234 Initialised HMAC-SHA1 server->client MAC algorithm
! 2006-01-02 22:21:08.234 Utilisation du nom d'utilisateur "root".
. 2006-01-02 22:21:08.250 Session password prompt (root@10.0.0.1's password: )
. 2006-01-02 22:21:08.250 Using stored password.
. 2006-01-02 22:21:08.250 Sent password
. 2006-01-02 22:21:08.281 Access granted
. 2006-01-02 22:21:08.281 Opened channel for session
. 2006-01-02 22:21:08.343 Started a shell/command
. 2006-01-02 22:21:08.343 --------------------------------------------------------------------------
. 2006-01-02 22:21:08.343 Using SCP protocol.
. 2006-01-02 22:21:08.359 Doing startup conversation with host.
. 2006-01-02 22:21:08.359 Skipping host startup message (if any).
> 2006-01-02 22:21:08.359 echo "WinSCP: this is end-of-file:0"
< 2006-01-02 22:21:08.453 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:08.453 Detecting variable containing return code of last command.
. 2006-01-02 22:21:08.453 Trying "$status".
> 2006-01-02 22:21:08.453 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2006-01-02 22:21:08.546 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:08.546 Trying "$?".
> 2006-01-02 22:21:08.546 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2006-01-02 22:21:08.703 0
< 2006-01-02 22:21:08.703 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:08.703 Return code variable "$?" selected.
. 2006-01-02 22:21:08.703 Clearing all aliases.
> 2006-01-02 22:21:08.703 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:08.703 unalias: echo not found
< 2006-01-02 22:21:08.750 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:08.750 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:08.796 unalias: pwd not found
< 2006-01-02 22:21:08.828 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:08.828 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:08.890 unalias: cd not found
< 2006-01-02 22:21:08.937 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:08.937 unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.000 unalias: ls not found
< 2006-01-02 22:21:09.031 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.031 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.078 unalias: groups not found
< 2006-01-02 22:21:09.109 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.109 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.187 unalias: scp not found
< 2006-01-02 22:21:09.234 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.234 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.281 unalias: rm not found
< 2006-01-02 22:21:09.312 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.312 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:09.468 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.468 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.468 unalias: mv not found
! 2006-01-02 22:21:09.468 unalias: mkdir not found
< 2006-01-02 22:21:09.515 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.515 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:09.671 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.671 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.671 unalias: chmod not found
! 2006-01-02 22:21:09.687 unalias: chgrp not found
< 2006-01-02 22:21:09.718 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.718 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:09.843 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.843 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.843 unalias: chown not found
< 2006-01-02 22:21:09.937 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:09.937 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:09.937 unalias: unset not found
< 2006-01-02 22:21:10.000 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:10.000 unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:10.000 unalias: unalias not found
< 2006-01-02 22:21:10.062 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:10.062 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:10.062 unalias: alias not found
< 2006-01-02 22:21:10.125 WinSCP: this is end-of-file:1
> 2006-01-02 22:21:10.125 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:10.125 unalias: ln not found
< 2006-01-02 22:21:10.171 WinSCP: this is end-of-file:1
. 2006-01-02 22:21:10.171 Clearing national user variables.
> 2006-01-02 22:21:10.171 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:10.171 unalias: cp not found
< 2006-01-02 22:21:10.218 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.218 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.265 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.265 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.312 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.312 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.390 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.390 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.437 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.437 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.484 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.484 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.531 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.531 unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.578 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.578 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.687 WinSCP: this is end-of-file:0
> 2006-01-02 22:21:10.687 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:10.718 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:10.718 Looking up groups and users.
> 2006-01-02 22:21:10.718 groups ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:10.812 -sh: groups: not found
< 2006-01-02 22:21:10.828 WinSCP: this is end-of-file:127
* 2006-01-02 22:21:10.828 (ECommand) Erreur lors de la recherche des groupes d'utilisateurs.
* 2006-01-02 22:21:10.828 La commande 'groups'
* 2006-01-02 22:21:10.828  a échoué avec pour code de retour 127 et pour message
* 2006-01-02 22:21:10.828 -sh: groups: not found.
. 2006-01-02 22:21:12.359 Getting current directory name.
> 2006-01-02 22:21:12.359 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:12.375 /tmp/root
< 2006-01-02 22:21:12.421 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:12.421 Listing current directory.
> 2006-01-02 22:21:12.421 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
! 2006-01-02 22:21:12.515 ls: unrecognized option `--full-time'
! 2006-01-02 22:21:12.531 BusyBox v1.00 (2005.04.21-17:30+0000) multi-call binary
! 2006-01-02 22:21:12.531 Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]
! 2006-01-02 22:21:12.531 List directory contents
! 2006-01-02 22:21:12.531 Options:
! 2006-01-02 22:21:12.531    -1   list files in a single column
! 2006-01-02 22:21:12.531    -A   do not list implied . and ..
! 2006-01-02 22:21:12.531    -a   do not hide entries starting with .
! 2006-01-02 22:21:12.531    -C   list entries by columns
! 2006-01-02 22:21:12.531    -c   with -l: show ctime
! 2006-01-02 22:21:12.531    -d   list directory entries instead of contents
! 2006-01-02 22:21:12.531    -e   list both full date and full time
! 2006-01-02 22:21:12.531    -F   append indicator (one of */=@|) to entries
! 2006-01-02 22:21:12.531    -i   list the i-node for each file
! 2006-01-02 22:21:12.531    -l   use a long listing format
! 2006-01-02 22:21:12.531    -n   list numeric UIDs and GIDs instead of names
! 2006-01-02 22:21:12.531    -p   append indicator (one of /=@|) to entries
! 2006-01-02 22:21:12.531    -L   list entries pointed to by symbolic links
! 2006-01-02 22:21:12.531    -R   list subdirectories recursively
! 2006-01-02 22:21:12.531    -r   sort the listing in reverse order
! 2006-01-02 22:21:12.531    -S   sort the listing by file size
! 2006-01-02 22:21:12.531    -s   list the size of each file, in blocks
! 2006-01-02 22:21:12.531    -T NUM   assume Tabstop every NUM columns
! 2006-01-02 22:21:12.531    -t   with -l: show modification time
! 2006-01-02 22:21:12.531    -u   with -l: show access time
! 2006-01-02 22:21:12.531    -v   sort the listing by version
! 2006-01-02 22:21:12.531    -w NUM   assume the terminal is NUM columns wide
! 2006-01-02 22:21:12.531    -x   list entries by lines instead of by columns
! 2006-01-02 22:21:12.531    -X   sort the listing by extension
! 2006-01-02 22:21:12.531    -h   print sizes in human readable format (e.g., 1K 243M 2G )
< 2006-01-02 22:21:12.578 WinSCP: this is end-of-file:1
* 2006-01-02 22:21:12.578 (ETerminal) La commande 'ls -la --full-time'
* 2006-01-02 22:21:12.578  a échoué avec pour code de retour 1 et pour message
* 2006-01-02 22:21:12.578 ls: unrecognized option `--full-time'
* 2006-01-02 22:21:12.578 BusyBox v1.00 (2005.04.21-17:30+0000) multi-call binary
* 2006-01-02 22:21:12.578
* 2006-01-02 22:21:12.578 Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]
* 2006-01-02 22:21:12.578
* 2006-01-02 22:21:12.578 List directory contents
* 2006-01-02 22:21:12.578
* 2006-01-02 22:21:12.578 Options:
* 2006-01-02 22:21:12.578    -1   list files in a single column
* 2006-01-02 22:21:12.578    -A   do not list implied . and ..
* 2006-01-02 22:21:12.578    -a   do not hide entries starting with .
* 2006-01-02 22:21:12.578    -C   list entries by columns
* 2006-01-02 22:21:12.578    -c   with -l: show ctime
* 2006-01-02 22:21:12.578    -d   list directory entries instead of contents
* 2006-01-02 22:21:12.578    -e   list both full date and full time
* 2006-01-02 22:21:12.578    -F   append indicator (one of */=@|) to entries
* 2006-01-02 22:21:12.578    -i   list the i-node for each file
* 2006-01-02 22:21:12.578    -l   use a long listing format
* 2006-01-02 22:21:12.578    -n   list numeric UIDs and GIDs instead of names
* 2006-01-02 22:21:12.578    -p   append indicator (one of /=@|) to entries
* 2006-01-02 22:21:12.578    -L   list entries pointed to by symbolic links
* 2006-01-02 22:21:12.578    -R   list subdirectories recursively
* 2006-01-02 22:21:12.578    -r   sort the listing in reverse order
* 2006-01-02 22:21:12.578    -S   sort the listing by file size
* 2006-01-02 22:21:12.578    -s   list the size of each file, in blocks
* 2006-01-02 22:21:12.578    -T NUM   assume Tabstop every NUM columns
* 2006-01-02 22:21:12.578    -t   with -l: show modification time
* 2006-01-02 22:21:12.578    -u   with -l: show access time
* 2006-01-02 22:21:12.578    -v   sort the listing by version
* 2006-01-02 22:21:12.578    -w NUM   assume the terminal is NUM columns wide
* 2006-01-02 22:21:12.578    -x   list entries by lines instead of by columns
* 2006-01-02 22:21:12.578    -X   sort the listing by extension
* 2006-01-02 22:21:12.578    -h   print sizes in human readable format (e.g., 1K 243M 2G ).
. 2006-01-02 22:21:12.578 Directory listing with --full-time failed, try again regular listing.
. 2006-01-02 22:21:12.578 Listing current directory.
> 2006-01-02 22:21:12.578 ls -la  ; echo "WinSCP: this is end-of-file:$?"
< 2006-01-02 22:21:12.640 drwx------    1 root     root            0 Jan  1  1970 .
< 2006-01-02 22:21:12.640 drwxrwxrwx    1 root     root            0 Jan  1  2000 ..
< 2006-01-02 22:21:12.640 drwx------    1 root     root            0 Jan  1  1970 .ssh
< 2006-01-02 22:21:12.671 WinSCP: this is end-of-file:0
. 2006-01-02 22:21:12.671 Startup conversation with host finished.

Where is my bad setup?