[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

shell scripting



  i want to write a little shell script called "addmailuser" w/c executes "adduser --conf /etc/mailuser.conf" where mailuser.conf contains info like making their default shell /bin/false.
  in dos, that "addmailuser" file will simply contain "adduser --conf /etc/mailuser.conf %1" where %1 is the first parameter that it sees, that is, the name of the user i want to add ... but how do u do this in linux ???
  hope someone can guide me on this,
TIA
caa


Reply to: