Solved

Login shell

Posted on 1997-11-29
1
392 Views
Last Modified: 2013-12-27
I'm running solaris 2.6, the problem is that I changed the login shell for root to a shell that doesn't exist! now i cant log in as root to change it back :(
Other than booting from the cd rom, are there any other ways that i can get around this?
root is looking for a /sbin/tcsh shell and i cant copy the shell into that directory as its owned by root!

Any help would be greatly appreciated
0
Comment
Question by:ianfoster
1 Comment
 
LVL 2

Accepted Solution

by:
df020797 earned 100 total points
ID: 2008150
THere is no way to go around this unfortunately... you MUST boot on CDROM and moun the dfisk and change shell for root.

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question