Dumb Unix login question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Dumb Unix login question




Pages (3): [1] 2 3 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Dumb Unix login question  
kipps


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-07 06:20 PM

change korn to c shell as login shell, How do I do that?






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-07 06:20 PM

On Jul 31, 1:38 pm, kipps <k_par...@yahoo.com> wrote:
> change korn to c shell as login shell, How do I do that?

Use the command "passwd -e". It will show you the actual login shell
and prompt you for new login shell.






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
Todd H.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:20 AM

kipps <k_partha@yahoo.com> writes:

> change korn to c shell as login shell, How do I do that?

man chsh

--
Todd H.
http://www.toddh.net/





[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
kipps


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:20 AM

On Jul 31, 2:54 pm, comph...@toddh.net (Todd H.) wrote:
> kipps <k_par...@yahoo.com> writes: 
>
> man chsh
>
> --
> Todd H.http://www.toddh.net/

Neither of the above work, invalid login or invalid shell is what I
get respectively!!






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
Sharif Rizal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:20 AM

On Jul 31, 2:46 pm, kipps <k_par...@yahoo.com> wrote:
> On Jul 31, 2:54 pm, comph...@toddh.net (Todd H.) wrote:
> 
> 
> 
>
> Neither of the above work, invalid login or invalid shell is what I
> get respectively!!

man usermod
or,
If you have root access, vi the /etc/passwd file and change the shell
for the user then log back in.






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
Todd H.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:20 AM

kipps <k_partha@yahoo.com> writes:

> On Jul 31, 2:54 pm, comph...@toddh.net (Todd H.) wrote: 
>
> Neither of the above work, invalid login or invalid shell is what I
> get respectively!!

Look in /etc/shells   should list your options.  You need the full
path.

--
Todd H.
http://www.toddh.net/





[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
nelson.bensley@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:20 AM

or put something like this in ~/.profile ?
[ -x /usr/bin/csh ] && exec /usr/bin/csh
only reason i mention it, when i was starting out i changed my shell
in the passwd file to /usr/local/bin/bash and couldn't login when /usr/
local didn't mount once....






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
kipps


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 12:21 PM

On Jul 31, 6:24 pm, nelson.bens...@gmail.com wrote:
> or put something like this in ~/.profile ?
>   [ -x /usr/bin/csh ] && exec /usr/bin/csh
> only reason i mention it, when i was starting out i changed my shell
> in the passwd file to /usr/local/bin/bash and couldn't login when /usr/
> local didn't mount once....

Not one of the above work!! NOT ONE, lot of guessing, my log in
shellis ksh!






[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
Todd H.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 06:21 PM

kipps <k_partha@yahoo.com> writes:

> On Jul 31, 6:24 pm, nelson.bens...@gmail.com wrote: 
>
> Not one of the above work!! NOT ONE, lot of guessing, my log in
> shellis ksh!

Talk to someone with root priv's for that system to help you out.
Probably an administrator.

You left us to guess since you never did indicate what operating
system we're dealing with.

--
Todd H.
http://www.toddh.net/





[ Post a follow-up to this message ]



    Re: Dumb Unix login question  
kipps


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-01-07 06:21 PM

On Aug 1, 11:11 am, comph...@toddh.net (Todd H.) wrote:
> kipps <k_par...@yahoo.com> writes: 
> 
>
> Talk to someone with root priv's for that system to help you out.
> Probably an administrator.
>
> You left us to guess since you never did indicate what operating
> system we're dealing with.
>
> --
> Todd H.http://www.toddh.net/

I am working on HP unix systems, no su permissions. Obviously I can
type in csh everytime I open a xterm window






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:09 AM.      Post New Thread    Post A Reply      
Pages (3): [1] 2 3 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register