?
Solved

Login shell

Posted on 1997-11-29
1
Medium Priority
?
398 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 200 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

864 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