Trying to open Terminal I get;You are not authorised to run this application. The administrator has set your shell to an illegal value.

Hi There Y'all,
I have recently downloaded MacKeeper. It ran OK for a bit, but has recently stopped allowing Internet security updates and switching on of the internet protection options.
Asked for help at MacKeeper. Their initial advice did not work, so a very nice technician was going to remotely attempt to fix the issue.
He however needed/still needs access to Terminal, a to me unbeknown Utility feature of my MacBook pro with Mac OS X 10.6.8.
While attempting to open Terminal the following came up
You are not authorised to run this application.
The administrator has set your shell to an illegal value.
Did do a diskverify permission and repair and restart.
Did check my admin settings in advanced options and have the /bin/bash.
Any advice anyone.
Thanks.
in site out

After finally localing private/etc/shells through Go>Go to folder and replacing the empty shells with the shells~orig I have permission again to open Terminal. Thanks. Another step.
(Why though can't I access  /private/etc/...  through Finder's search?)
Should work but the file or folder needs to exists to access it.  If you typed in /private/etc/shells and the file wasn't there there's no place to access.  Certainly /private/etc was there so that would have worked.
So what will happen by inputting the lines
ls -Fvl /bin/bash
ls -Fvl /etc/shells
more /etc/shells
into Terminal?
Basically to find out what you already seemed to find out.  The first command was to display owner, group, and permissions of  /bin/bash and to tell me whether it still existed.
Similarly for /etc/shells.
And the last command would have just displayed what was in /etc/shells.
By the way /private/etc and /etc are the same folder.

Similar Messages

  • Issue w/Terminal (The administrator has set your shell to an illegal value)

    Hiya,
    I have an interesting error on my Intel Macbook (running leopard). I was trying to remotely access a CVS repository and in the process of doing so I changed my default shell from sh (or bash) to tcsh (I think I was in super-user mode when I did this).
    Anyway, when I try to go su now, I am asked for my password, and when I correctly input it, I get the following error:
    su: tcsh: No such file or directory
    The command I used before was chsh -s tcsh.
    Well the problem kind of progressed - I now am no longer able to open Terminal.app on my user account (only on my root account - if/when I login to OSX as root).
    Any ides?

    ok, so that kind of worked. I'm now able to use terminal again, but I still can't login as a super user. I still get the same error
    I changed it back to bash from tcsh. I didn't realize I was forgetting the /bin. So I followed your instructions and changed it to tcsh, I restarted termianl and tried going su again, and I still get the directory not found error.

  • When I try to launch terminal, i get an error "You are not authorized to run this applicationThe administrator has set your shell to an illegal value."

    When I try to launch terminal, i get an error "You are not authorized to run this applicationThe administrator has set your shell to an illegal value."

    If you'd asked a question in your original post it might have solicited more pertinent responses. As it is, you were stating a fact. No one knew whether you considered that fact a problem, or what you were hoping to gain by doing so.
    The simple addition of 'can anyone help me fix this so I can run Terminal' would have counted for a lot.
    As it is, your solution is likely to require the Terminal, so you're going to need to fix that one way or another. The simplest would be to create a new admin account (System Preferences -> Users & Groups) then log in using that account.
    Then try and launch the terminal. If that works the problem is specific to your original account and can likely be fixed via some command-line tweaking. I'd start with:
    dscl . read /Users/<username>
    (where <username> is the short name of the account having a problem). This will show the records in the directory data for your account, one of which will be UserShell. Chances are that value is invalid, or missing, and can be corrected via:
    sudo dscl . -change /Users/<username> UserShell <currentValue> /bin/bash
    (where <currentValue) is the current setting for UserShell) which will change the user's shell to /bin/bash (the default).
    Of course, you might already know this and already tried, but since you didn't say so in your original post it's worth checking.

  • Terminal Won't Boot : admin has set your shell to an illegal value

    So I went to go use terminal for something simple, and I got this error message, "You are not authorized to run this application. The administrator has set your shell to an illegal value."
    Now of course I decided to search the internet with my Google skills to find the answer. And I found out some information about going to my System Preferences > Accounts > Unlock to make changes, & control click admin account to get advanced options, and check what my Login shell was set to, and it is set to "/bin/bash".
    But I really don't know where to go from there. I've also tried using Disk Utility to repair my disk permissions several times, and it's made a lot of repairs, although I do notice when it does repairs there's one thing it won't repair.
    "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired."
    Which makes me a little concerned! And it looks like it repaired a "private/etc/ssh-config" which also concerns me, but I have no idea what I'm doing at all in this area.
    I could really use some help solving this issue! Thanks! How do I fix this?

    I found another thread related to this post, but I'm not making full sense of what the answer is to the question, or in other words how to apply what he did.
    http://discussions.apple.com/thread.jspa?threadID=2170189
    Maybe if someone else takes a look at the post they could make sense of what I'm reading and translate into layman terms what the answer is, or what I should do to fix my problem.
    Here's the answer I found in the linked post:
    I could not start Terminal and was getting the following error:
    "The Administrator has set your shell to an illegal value."
    I enabled the root user from the Directory Utility (now hidden in core services but accessible from the User Accounts preference Pane). I logged in a root and looked at my /etc/shells file.
    My /etc/shells file was empty
    There was a /etc/shells~orig that had the expected shells listed. I copied the contents of /etc/shells~orig into /etc/shells and...
    Terminal now runs just fine.
    Not sure how this got changed but i'm glad it works again and I hope this post can help someone who runs into a similar problem with their terminal.app

  • You are not authorized to execute this application in SAP E-Recruit

    Hi,
    We are getting the below error while going to recruitment page for recruiter:
    "You are not authorized to execute this application"
    At the same time when we check in SLG1, we get the below errors:
    No candidate could be found for US E0023127
    The error occurred in program CL_HRRCF_CANDIDATE============CM003 line 361
    Apart from this we are not getting any dumps/traces in ST22/ST05/ST01.
    When we encountered this error for the first time, we executed the report RCF_CREATE_USER in SE38 and the problem was resolved.
    We got the error again 2 days back, after that also it got automatically resolved. But, now we are getting this error continuously.
    We also tried re-executing the report RCF_CREATE_USER and HRALXSYNC but no use.
    The service user (for recruiter) is a reference user from RCF_CAND_INT.
    We have also tried giving different roles and authorizations to the user.
    SAP_ERC_RECRUITER_CI_4
    SAP_RCF_RECRUITER
    SAP_ERC_REC_ADMIN_CI_4
    SAP_ALL
    We are in ECC 6 EHP 6 and we have a standalone EREC system with ERECRUIT 617 SP3.
    We are stuck at this point in our EREC project.
    Kindly provide your valuable suggestions for this issue.
    Thanks in advance!
    Regards,
    Khushboo

    Hello Khushboo,
    the message you are getting is a bit misleading as it is the standard behavior of the quick search if the user you are logged in as recruiter does not have a candidate assigned. So the message in SLG1 points into the correct direction.
    I am not sure what you are meaning by "the service user (for recruiter)". Although table T77RCF_ROLE allows to specify a reference user for all roles in eRec only the entries for internal and external candidates are actually used. So the authorization assignment for the recruiter specific roles has always to be done directy for each user. A reference user could be overwritten / reset to RCF_CAND_INT by the ALE.
    What bothers me a bit is the user name and that you mention RCF_CREATE_USER and HRALXSYNC at the same time. This might be the reason for your issue. Looks like you created a candidate for a user using RCF_CREATE_USER which is later transferred in the ALE from HR Core to eRec. This was not a good idea. RCF_CREATE_USER is only for creating project users when the HR core to eRec and for special users who need a candidate while do not have an employee id in HR core (e.g. WF-BATCH). This is why I always recommend to use non-production user Ids for everyone during project phase. Its been quite a time some of my projects did otherwise and I remember a similar issue with one of the customer admins. Everytime data for the user / employee was send in ALE the candidate / user was messed up.
    Getting this fixed was quite troublesome. In the end we had to dump the original candidate. We deleted all records between candidate object, central person, business partner and person object in HRP1001. By that time the customer was still on the old ALE version so today I would also delete all entries in HRP558X infotype tables for the employee. Then I would first try to finger the employee id (e.g. change the name, save, directly change it back, save again ) so it is transferred during the nightly processing of the change pointers and put in the IDoc. If this is not working I would try to transfer it again using PFAL.
    Kind Regards
    Roman     

  • "You are not authorised to control this computer"

    We have a new Mac that has been installed at a remote site, and I am trying to remote control this for the first time. I have added discovered this in ARD and can 'observe' the machine - but when attempting to 'control' it, I receive the message "*You are not authorised to control this computer*"
    I have checked the settings on the Network/Sharing screen, and 'all network users' are permitted to gain access.
    Anyone have any ideas?
    Many thanks -

    Oops... missed a setting in 'Remote Management' (Options).
    All sorted now - as you were.

  • UAG 2010 SP4 Cold Fusion Web Application "You Are Not Authorized To Access This Application" error

    Hi folks,
    2010 UAG SP4 publishing a web app that is a Cold Fusion login page.
    The portal trunk is set to not verify URLs and open with that page directly rather than a Portal page, I also have it set to not install client components, basically using UAG as a reverse proxy with some other items. 
    The published app does not require authentication and all users are authorized the path is as follows:
    /index.cfm?FuseAction=Security.Login
    And the hostname is set as www.apps.x.x.edu name removed but is correct. UAG has an http to https redirection and it requires https. 
    The Portal Link has https://xxxx as the address which is correct as it is using an SSL connection to the backend web server and I can reach the page successfully from the UAG server by simply browsing. 
    I previously had the application launching within the portal but the client does not want the extra step so I removed the portal interaction all together and while I had the application launching within the portal, it worked. I'm not certain what changed
    to make it fail, though. 
    In the Web Monitor I receive this error:
    A request on trunk nonuvaportal; Secure=1 failed because of an unknown application. The URL is /index.cfm?FuseAction=Security.Login. The source IP address is 137.54.129.238. The user is .
    Any help or tips or advice would be superb.
    Thanks,
    Justin

    And an update, I did another application publishing on a separate trunk/portal to a similar page
    /index.cfm?FuseAction=Programs.Home
    And I get the same error. Is there a switch/setting/policy I am missing to allow it to run those?

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this

    hi All,
    We are getting below error while connecting to an FTP location through File Adapter:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this command'. For details, contact your FTP server vendor.
    Also when we tried to connect to this FTP location through PI server we able to connect, but when we connect to it through channel we are getting above error.
    Please Help!
    Thanks,
    Mayank

    hi All,
    The usedid we are using to connect to FTP location has appropriate access to write(we have an receiver file adapter) the files, when we connected to FTP location from PI server using same useid(as used in channel) we are able to connect to FTP location and also able to write the file there.
    Now error soming is:
    An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation is not supported under Connect:Enterprise FTP server.'. For details, contact your FTP server vendor.
    Thanks,
    Mayank

  • You are not registered to use this service

    We have everything with BT including a new TV box with netflix etc, which is currently at the end of the 14 day cooling off period. If the following problem isn't resolved today I will be considering cancelling the TV contract and leaving BT all together.
    Our phone was working ok on the 15/4/2015. I tried to dial a local number last night (16/4/2015) to hear 'you are not registered to use this service please contact your service provider'. I dialled again with the area code, same thing. Also with national and mobile calls. We can receive incoming calls. I rang the Indian call centre who said there is no problem with the line or the account (which is in credit) it must be the handset. I am waiting for them to ring me back but having searched the problem online I think this will be to no avail. I have read about prefixing phone numbers with 1280 and this has worked when trying to ring my own mobile, so it can't be a problem with the handset, can it?
    I've seen it could be a problem with Indirect Access IDA being removed from my account (no idea how this might happen). I also know that there was a major outage last week (around 6/4/2015) in our area which led to the freeview HD channels not being available. I had to reset our router which cleared the problem but were Openreach in our area doing something to the exchange boxes etc?
    I need this problem sorting out A.S.A.P. please.

    The fact that if you use 1280 it allows successful calls suggests your line is set as CPS , carrier pre select, if this has just happened it suggests a CPS provider has taken your 'line' for calls if not for line rental, but it's not properly set up otherwise calls would terminate it would just be billed by the mystery CPS provider
    Have you had any approach by company's that sell this product ?, sometimes ISP's who's product includes calls can use CPS, if not, and you haven't been 'slammed' you need BT to set your line as non CPS , so BT handle your calls automatically without using 1280
    This should be easy to get done, but the drones that answer the calls probably won't have a clue, hence the 'it must be your handset' nonsense they come up with, report the line faulty,don't accept an appointment, and insist they sent the problem to what was once called BT Operate, they look after the telephone exchange equipment and it's 'data',

  • [HP Expert Day] "You are not able to restore this system with the media"

    Welcome to HP Experts day! 
    I've got a long-standing problem since last year. Let's see if you can solve this! 
     I'll get straight to the point : 
    I am unable to perform recovery on my system. This is the error message : 
    It's a USB recovery media created with the HP recovery media utility on the same laptop. Tested to work correctly before I sent it for RMA on my SSD. It initially was running on a micron SSD. When I got it back, it was a samsung SSD instead, according to some benchmark results. 
    Laptop : HP Envy Spectre XT 13-2018TU
    P.S I've already opened another thread on this last year. 
    http://h30434.www3.hp.com/t5/Notebook-Recovery/Unable-to-boot-from-USB-recovery-media/m-p/2197929#M1... 
    But they were stumped. 

    I had this exact same issue on a Spectre XT Pro Ultrabook. 
    The original SSD failed and I was sent a replacement, was fortunate enough to be able to create a Recovery USB stick using the wizard in Windows. When booting from USB I received the message "You are not able to restore this system with the media".
    SOLUTION: You must NOT use the Recovery USB stick in any USB3.0 port (labelled SS). Using another USB port prevented this exact error message from appearing and I was able to complete the system restore process.
    I hope this helps someone, I signed up and posted here especially for this reason!

  • I keep getting an error message that says "The administrator has set policies to prevent this installation" when I try to install iTunes.  I have tried everything on the website.

    I keep getting an error message that says "The administrator has set policies to prevent this installation" when I try to install iTunes.  I have tried everything on the website.  When i try to remove the components of iTunes I get the same message.  How can I download iTunes?

    Let's try something relatively simple. Download and save a copy of the installer to your hard drive (don't run the install on line and don't start the install just yet):
    http://www.apple.com/itunes/download/
    Now right-click on the iTunesSetup.exe (or iTunes64Setup.exe) that you downloaded and select "Run as administrator".
    Does that go through any better for you?

  • You are not authorized to read entries in the cash journal

    Error while trying to access Cash journal " You are not authorized to read entries in the cash journal ".

    Hi Holger,
    May be they might have restricted to change password. See <a href="http://www.sap-basis-abap.com/bc/restrict-role-to-unlock-lock-change-password.htm">this</a> for more details.

  • You are not authorised to purchase from app store

    I downloaded a free app. Then I wanted to buy the full version and it keeps giving me this  "you are not authorised to purchase from app store". I'm entering the pass correctly..
    I recently renewed my credit card recently, and I updated my payment info in app store.
    I tried to sign out from the acc. And sign in again . I did not work.

    Are you sure you didn't change the store location by accident or maybe enter your new card number or security code incorrectly by mistake?

  • On i-pad, when try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no my request and item not available in the U.S. store. WWJD?

    On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do?  Please don't tell me I have to buy a new Mac to be up to date.

    On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes &amp; App Stores and if necessary sign out/in and then enable iTM.

  • You are not recognized as a user in the SAP customer notification system

    Hello,
    we are in OSS registered as CCC. I am able to send notifications from our SolMan to OSS with components(instalations) which are registered under out SAP customer number(our SolMan instalation etc.).
    When I want to sned notification for our customers to OSS but with component of our customer(he has another SAP number, his instalation) then I got an error message
    You are not recognized as a user in the SAP customer notification system:
    You are not recognized as a user in the SAP customer notification system
    Message no. DNO158
    Diagnosis
    No address data exists for this logon user in the SAP problem notification system.
    The function you activated could not be executed.
    Activated function Diagnosis
    Send notification to SAP The notification was saved, but could
    not be sent to SAP.
    Update notification at SAP The notification was not updated to
    reflect the SAP version.
    Check for changes The system cannot compare the notification
    with the current version at SAP.
    Request list of the The notifications that you sent to SAP
    notifications contained cannot be updated.
    in the SAP problem notification system.
    Procedure
    Contact your system administrators.
    Could you help me please?
    view V_AISAPCUSTNOS ist filled with our customer numbers, I am in AISUSER...
    Thanks Miloslav Pudil

    Hello Miloslav,
    We have the same problem.
    Somebody knows how can we resolve this?
    Thanks,
    Diego.

Maybe you are looking for