Solaris 10 No Shell Error
cannot login user i changed shell also please help me urgently Remove advertisements Sponsored Links sijocg View Public Profile Find all posts by sijocg #2 04-20-2009 Shyju Registered User Mitt kontoSökMapsYouTubePlayNyheterGmailDriveKalenderGoogle+ÖversättFotonMerWalletDokumentBloggerKontakterHangoutsÄnnu mer från GoogleLogga inDolda fältSök efter grupper eller meddelanden Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search share|improve this answer answered Feb 3 '10 at 14:14 jlliagre 7,1841029 add a comment| up vote 0 down vote You have to specify the full path to the shell executable and You're now being signed in. http://nzbsites.com/solaris-10/solaris-10-ssh-offline.html
The Solaris OS is now owned by Oracle. using " su someone" execve("/bin/ksh", 0xFFBFEAE8, 0xFFBFFBF0) Err#13 EACCES fstat64(2, 0xFFBFDC08) = 0 write(2, " s u : N o s h e l l".., 13) = 13 _exit(3) 1. That's a personal preference. Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search
Shell should be changed by using the passwd -e command. Great, if you run into particularly strange boot behavior change ROOT default shell to bourne shell and see if that fixes it. Is it safe 2 add /sbin 2 my PATH?
- When i change, i can't login again after logout.
- Not the answer you're looking for?
- By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
Without a valid shell (even /bin/false) you cannot ftp into server. Just don't Fat Finger it like I did especially on a box which cannot be rebooted in the near future, you will then have to hijack your way in to SU Join our community today! Are you sure you have the correct path to the shell?
Bash - Which Shell to Use? All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Accidentally modified .bashrc and now I cant login despite entering password correctly Modifying const object through pointer obtained during construction Simplificate an array Why don't we see "the milky way" in http://serverfault.com/questions/108950/error-when-changing-shell-of-root-user-in-solaris-10 You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S… Unix OS Linux/ Unix Bash Shell: Working with Files Video by: Dototot Learn several ways to
share|improve this answer edited Mar 28 '15 at 18:45 answered Mar 28 '15 at 17:44 user3476304 112 add a comment| up vote 0 down vote When trying to login I was Should non-native speakers get extra time to compose exam answers? Join our community for more solutions or to ask questions. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.
How to handle unintentional innuendos Is it good to call someone "Nerd"? http://www.tek-tips.com/viewthread.cfm?qid=520578 nvsleman sleman replied Jul 28, 2009 Hi romeo thanks for your attention ... As the root filesystem that will be mounted is the one from the CDROM mount /dev/dsk/c0t0d0s0 /mnt cd /mnt/etc vi passwd Top Best Answer 0 Mark this reply as the best It has always been my understanding that boot off cd, mount the root file system, edit /etc/passwd is the only solution.
Do Germans use “Okay” or “OK” to agree to a request or confirm that they’ve understood? this contact form All product names are trademarks of their respective companies. I logged in the system with another account with super user privileges Enter the following command: sudo chsh -u user -s $SHELL where user is the account name with the problem Now, the system can't find the shell.
So, if the shell binary is intact, then you will be able to use the shell. and YES I realize that this is a bit of a hack ;-) I am not positive this would work, nor do I intend to try it. What prints head -1 /etc/passwd | od -c ? http://nzbsites.com/solaris-10/dtlogin-solaris-10.html reboot.
Jeffrey Scott replied May 23, 2005 Remember to exec that other alternate shell choice when you want to use one. Register now while it's still free! Yes, I learned a lot about rc files that year.
ls -ld / ls -ld /usr ls -ld /usr/bin ls -l /usr/bin/ksh And also, could you tell me what shells are listed in /etc/shells? (This shouldn't have any effect on this).
HP and IBM have KSH statically linked, and Linux uses BASH as the default shell. The /etc/psswd file has been "fat fingered" so the shell for root is set to /user/bin/bash not /usr/bin/bash. good luck, and success ! Remove advertisements Sponsored Links botao View Public Profile Visit botao's homepage! type out the syntax incredible View Public Profile Find all posts by incredible #4 04-27-2009 botao Registered User Join Date: Mar 2006 Last Activity: 9 December 2013, 8:21
Korn vs. For example, the final colon-separated field in /etc/passwd could have been changed from /sbin/sh to /usr/bin/bash, which does not exist in that location. lucky me. http://nzbsites.com/solaris-10/solaris-10-netstat.html It was about 2 or 3 years ago that SUN engineers and I had this discussion (to solve an elusive problem).
You should be able to SSH in from another machine. –Chris Down Jun 8 '12 at 10:52 add a comment| up vote 1 down vote i have the same problem, this Sun phone support gave me a dog and pony show about not supporting non Sun Scripts. choogendyk View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by choogendyk 04-10-2010, 03:45 PM #5 catkin LQ 5k Club Registered: Dec 2008 I'm not going to mess up one of my root logins to see, but I did try it on another login.
Password Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris. After I run chsh -s /usr/local/bin/fish without caution, I cannot login the server now. How can i fix it remotely?? "su -" "su: No shell". any way around it??
First, I needed to setup the Primary Server. If so, make a backup copy of the existing (broke) /etc/passwd file, and restore a good copy from that box, or one from another host. Anything that runs as a non-system service should be started at Run State 3 on Solaris. EdgeWave Microsoft View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Solaris The Solaris group is a forum where peers share
If you have access to the boot process, you can append init=$SHELL to be dropped to a single-user shell, where you can fix this, again with chsh -u user -s $SHELL It was Solaris, not the applications that was having difficulty with the boot. Invoke sync(1M) several times, then halt the machine by typing Stop-A or by pressing the reset button. No error messages or anything.
RE: "su -" "su: No shell". Technical Notes To keep the No shell problem from happening, habitually use admintool or /usr/ucb/vipw to edit the password file. KenCunningham (TechnicalUser) 10 Apr 03 03:57 In fact FAQ60-1568 gives step-by-step instructions. D.
© Copyright 2017 nzbsites.com. All rights reserved.