![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| syntax error | ibroxy | Shell Programming and Scripting | 5 | 01-03-2008 08:03 AM |
| I got error like...syntax error on line 1, teletype | koti_rama | UNIX for Advanced & Expert Users | 2 | 07-07-2007 07:35 PM |
| awk syntax error | k@ssidy | UNIX for Dummies Questions & Answers | 12 | 06-15-2005 10:00 AM |
| Syntax error.. | livetaurean19 | Shell Programming and Scripting | 0 | 06-14-2005 04:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
Here it is debugged: + ssh -q acce@comer sudo usermod -d /home/syncid -g staff -Gn staff -u 1231 -p xxx syncid Usage: usermod [ -u uid ] [ -g group ] [ -G group1,group2 ... ] [-d dir [ -m ] ] [ -s shell ] [ -c comment ] [ -l new_name ] [ -e expire ] [ -r role1,role2 ... ] login There is only one group under -Gn so I can't see that being the case. |
|
||||
|
Still syntax error. Here is the debugged:
+ ssh -q x@x sudo usermod -d /home/syncid -g staff -G staff -u 1231 -p xxx syncid Usage: usermod [ -u uid ] [ -g group ] [ -G group1,group2 ... ] [-d dir [ -m ] ] [ -s shell ] [ -c comment ] [ -l new_name ] [ -e expire ] [ -r role1,role2 ... ] login Is it because the -g and the -G are the same? |
|
|||||
|
Quote:
|
![]() |
| Bookmarks |
| Tags |
| linux, linux commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|