Sign in to follow this  
Followers 0
SigFLUP

what if you don't know your password

8 posts in this topic

So I have an account on a linux machine and login using an ssh key. I was never given a password or set one and now I want to change my shell. chsh of course asks for a password and so does passwd. before I contact the administrator about this is there a way to set your password if you don't know your current one?

Share this post


Link to post
Share on other sites
[quote name='SigFLUP' date='21 October 2009 - 02:02 PM' timestamp='1256148146' post='346467']
So I have an account on a linux machine and login using an ssh key. I was never given a password or set one and now I want to change my shell. chsh of course asks for a password and so does passwd. before I contact the administrator about this is there a way to set your password if you don't know your current one?
[/quote]

edit the rc file? like ~/.cshrc just put at the end:

[code]bash[/code]

to have a more modern shell. I had a shell on a BSD machine that kept giving me csh and that's what I did.

Share this post


Link to post
Share on other sites
[quote name='trevelyn' date='24 October 2009 - 12:52 AM' timestamp='1256363548' post='346575']
[quote name='SigFLUP' date='21 October 2009 - 02:02 PM' timestamp='1256148146' post='346467']
So I have an account on a linux machine and login using an ssh key. I was never given a password or set one and now I want to change my shell. chsh of course asks for a password and so does passwd. before I contact the administrator about this is there a way to set your password if you don't know your current one?
[/quote]

edit the rc file? like ~/.cshrc just put at the end:

[code]bash[/code]

to have a more modern shell. I had a shell on a BSD machine that kept giving me csh and that's what I did.
[/quote]

Then you'd have to type exit twice. I talked to the administrator about it and now I'm a proud user of zsh. Yeah! Fucking shell party!

Share this post


Link to post
Share on other sites
[quote name='SigFLUP' date='07 November 2009 - 11:42 AM' timestamp='1257615722' post='347100']

Then you'd have to type exit twice. I talked to the administrator about it and now I'm a proud user of zsh. Yeah! Fucking shell party!
[/quote]

+1 zsh. ash suckz

Share this post


Link to post
Share on other sites
[quote name='dinscurge' date='07 November 2009 - 01:11 PM' timestamp='1257617487' post='347101']
[quote name='SigFLUP' date='07 November 2009 - 11:42 AM' timestamp='1257615722' post='347100']

Then you'd have to type exit twice. I talked to the administrator about it and now I'm a proud user of zsh. Yeah! Fucking shell party!
[/quote]

+1 zsh. ash suckz
[/quote]

man, ash is the worst.

Share this post


Link to post
Share on other sites
[quote name='SigFLUP' date='07 November 2009 - 12:42 PM' timestamp='1257615722' post='347100']
[quote name='trevelyn' date='24 October 2009 - 12:52 AM' timestamp='1256363548' post='346575']
[quote name='SigFLUP' date='21 October 2009 - 02:02 PM' timestamp='1256148146' post='346467']
So I have an account on a linux machine and login using an ssh key. I was never given a password or set one and now I want to change my shell. chsh of course asks for a password and so does passwd. before I contact the administrator about this is there a way to set your password if you don't know your current one?
[/quote]

edit the rc file? like ~/.cshrc just put at the end:

[code]bash[/code]

to have a more modern shell. I had a shell on a BSD machine that kept giving me csh and that's what I did.
[/quote]

Then you'd have to type exit twice. I talked to the administrator about it and now I'm a proud user of zsh. Yeah! Fucking shell party!
[/quote]

LOL! who types "exit" when they leave a shell?? CTRL+D FTG! :D

Share this post


Link to post
Share on other sites
[quote name='trevelyn' date='08 November 2009 - 01:41 AM' timestamp='1257662515' post='347118']
[quote name='SigFLUP' date='07 November 2009 - 12:42 PM' timestamp='1257615722' post='347100']
[quote name='trevelyn' date='24 October 2009 - 12:52 AM' timestamp='1256363548' post='346575']
[quote name='SigFLUP' date='21 October 2009 - 02:02 PM' timestamp='1256148146' post='346467']
So I have an account on a linux machine and login using an ssh key. I was never given a password or set one and now I want to change my shell. chsh of course asks for a password and so does passwd. before I contact the administrator about this is there a way to set your password if you don't know your current one?
[/quote]

edit the rc file? like ~/.cshrc just put at the end:

[code]bash[/code]

to have a more modern shell. I had a shell on a BSD machine that kept giving me csh and that's what I did.
[/quote]

Then you'd have to type exit twice. I talked to the administrator about it and now I'm a proud user of zsh. Yeah! Fucking shell party!
[/quote]

LOL! who types "exit" when they leave a shell?? CTRL+D FTG! :D
[/quote]

I also type clear when I want to clear the screen, although that's mostly practical because a lot of shells don't interpret ^l. These things are habitual and I think it also works with my personality because I have to think about things for a moment. To each their own mate Edited by SigFLUP

Share this post


Link to post
Share on other sites
thread jack = 1

i just got my sunfire 280r the otherday. and finally have time to work on it after i fixed the bent rack mount (from fedex e.g. fedex destroyed it) and decided to go ahead and give it a boot. ive tried googling it but not much has come up. either i need to pull out the rsc card and get a db9/rj4-db25 sun adaptor for the db29 serial port then i wont need the rsc password to get lom. another solution i found was to just set it up like normal but instead of trying to log in just press the power button and after the post message it "may" fault and give me the open boot prompt(it came up as a guide for other sunfire machines and i guess its probably worth a try) otherwise it might work if i pull out the hdd/batteries for the rsc card as the password is stored on the hdd. so it "may" forget the password on losing power and return to the factory admin/admin or root/password or w.e.
anyways anyone magically have a solution?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0