Linux overview
Top  Previous  Next


Most user account operations that can be performed on Windows or Novell servers can also be performed on Linux servers with the Linux specific commands. It is also possible to create home directories, set permissions and manage files on Linux servers. Transfer accounts including passwords between Linux, Novell and Windows servers by combining commands for the different operating systems. You will find most Linux specific commands in the Linux command group and some in the Data section command group.

Linux server operations supported by SetupBatcher

·Transfer accounts including passwords from Linux server to Linux server, Linux server to Novell NetWare server, Samba server to Samba server, Windows server to Samba server and Samba server to Windows server (examples)  
·Generate short and unique account names (by combining Data.Get.LD.Find, Data.Write and Data.Column.DupeCheck, example)  
·Generate completely random and pronounceable easy-to-remember random passwords  
·Create, edit and delete Linux and Samba accounts, groups and containers (Lin.DS.Op, Lin.DS.Object.Delete)  
·Create home directories (Lin.SSH.Command calls "mkdir"), set permissions (Lin.SSH.Command calls "chown" and "chmod"), copy files (Lin.SSH.Command calls "cp")  
·Print password sheets  
·Change Linux and Samba passwords (Lin.DS.Op modifies userPassword, ntPassword or sambaNTPassword, example)  
·Rename or move objects (Lin.DS.OU.MoveObject)  
·Edit object properties depending on value of other properties (Data.Get.LD.Find or LDvalue with If..Then..Else..EndIf statements)  
·Find and replace multiple user attributes at once (example)  
·Export data from the directory to a clear text file (Data.Get.LD.Find with Data.Save)  
·Import data from a clear text file, a POP3 server, an FTP server or a local directory to eDirectory (Data.Load or $GetDataFiles)  

For more details, see the Linux examples and the command reference.

SetupBatcher Commands that can be useful while working with Linux servers

Command group
Comment
Linux
All
Data section
All except Windows or Novell specific - Data.Get.AD, Data.Get.SAM, Data.Get.ND etc.
General
All except Windows specific - DOS, DOSR, Logoff, LogonAs, System.Reboot, System.Shutdown and Wait.Process.
Event log
EventLog.Write can be useful to log the status of Linux scripts.
All other
All other commands are Windows or Novell specific and thus not useful on Linux servers.


SetupBatcher Linux and Novell server limitations

·The [Machines] section can only be used for Windows machine names. If a script only runs on Linux or Novell - remove this section from the script.  
·The auto retry function can not be used in Linux or Novell server scripts; auto retry depends on the [Machines] section.  
·"Action" menu / "Create list of machines" does not work for Linux or Novell servers.  
·"Action" menu / "Run user name generator" runs the SamAccount user name generator, this does not work on Linux or Novell servers - use the method in this example instead.