- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root shell invalid
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:13 AM
05-09-2006 12:13 AM
Re: Root shell invalid
With mount command or df -k you can find which partition you have to use. In most of cases it is /dev/dsk/c1t0d0s0 partition, but check anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:14 AM
05-09-2006 12:14 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:18 AM
05-09-2006 12:18 AM
Re: Root shell invalid
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:19 AM
05-09-2006 12:19 AM
Re: Root shell invalid
system. For example, in an attempt to have the root user log in with csh,
the above entry may be changed, resulting in the login shell being
/sbin/csh.
There is no /sbin/csh. The csh executable is in /bin.
To correct this problem:
1. Boot from the Solaris 2.x CD-ROM.
2. Answer the configuration questions.
3. When the suninstall menu appears, exit to a shell "Abort without
installing."
4. Mount the root partition to /a. For example:
mount /dev/dsk/c0t3d0s0 /a
5. cd /a/etc
6. Edit the passwd file and change the login shell for root to /bin/csh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:24 AM
05-09-2006 12:24 AM
Re: Root shell invalid
Doing a df -k,
I get the following:
File system .......... mounted on
/dev/md/dsk/d0 .......... /
/dev/md/dsk/d3 .......... /usr
....
...
...
So, i can assume that the root file system is in fact d0.
so, i need to do the following:
* boot cdrom -s
* mount /dev/md/dsk/d0 /mnt
* vi /mnt/etc/passwd
Would that be correct? Is there anything missing?
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:27 AM
05-09-2006 12:27 AM
Re: Root shell invalid
But don't forget that you should exit to shell from the installation menu which apears after you boot from disk. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:32 AM
05-09-2006 12:32 AM
Re: Root shell invalid
I'm at the point where im mounting the filesystem:
mount /dev/md/dsk/d0 /mnt
This comes back with an error message:
mount: /dev/md/dsk/d0 or /mnt, no such file or directory.
However, i know that /mnt exists; and i know that /dev/md/dsk/d0 exists as we checked that in the beginning.
What do you suggest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:36 AM
05-09-2006 12:36 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:39 AM
05-09-2006 12:39 AM
Re: Root shell invalid
I dont understand what you mean by empty directory on the CD. Its a CDROM.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:46 AM
05-09-2006 12:46 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 01:57 AM
05-09-2006 01:57 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 02:27 AM
05-09-2006 02:27 AM
Re: Root shell invalid
Of course, that's a big "if", but it's much simpler than what you're going through now.
BTW, it's obviously NOT best practice to use a shell from a directory writable by anyone other than root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 02:28 AM
05-09-2006 02:28 AM
Re: Root shell invalid
mkdir abcd and than try to mount the partition on it.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 02:31 AM
05-09-2006 02:31 AM
Re: Root shell invalid
OK, i have a bootable CD, but its just to boot up a system. Can i use this? The official sun solaris 8.0 CD isnt booting, and it cant find the right kernel to boot.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 02:34 AM
05-09-2006 02:34 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 06:39 AM
05-09-2006 06:39 AM
Re: Root shell invalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 06:52 AM
05-09-2006 06:52 AM
Re: Root shell invalid
However, i really truly wish to thank all of you. I'm very very serious. The response time was amazing, and if it wasnt for the direction i received on this website, it would have taken far far longer to resolve.
If ever anyone here is in Paris, let me know, I owe you all a drink!!
- « Previous
-
- 1
- 2
- Next »