Find the answer to your Linux question:
Results 1 to 4 of 4
need a script for login enabling the programme to run without giving operator access to shell ....
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5

    Shell Script

    need a script for login enabling the programme to run without giving operator access to shell .

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    I am not an expert, but I think you could create a user account
    that has the program you choose set as the shell.

    Check the manpage for the command usermod

  3. #3
    Just Joined! jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    New York City - USA
    Posts
    18
    You can create a user that does not have a shell login account with this command from the terminal.

    useradd -M -d /homedirectoryofchoice/ -s /sbin/nologin username




    Jason

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5

    script problem

    Hi,
    what i have done is i have developed a menu driven programme.
    after that i need to make the application its own operator status report login enabling the programme to run without giving operator access to shell.
    advancing the concept programme to be developed so that it is able to run with a ‘none interactive flag’ – enabling it’s execution to be automated with the resultant file e-mailed to a user perhaps once a day or once a week.

    can anyone help me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...