Re: Can we use self SSH server ?
- From: per@xxxxxxxxxxxx (Per Hedeland)
- Date: Sat, 13 Oct 2007 23:26:49 +0000 (UTC)
In article <1192301387.389497.167920@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
kid1972tw@xxxxxxxxxxxx writes:
If I change root login shell , how can I change it back ?
Boot single-user. But the "custom CLI" users of your embedded system
probably shouldn't log in as "root" anyway (you can of course have other
users with uid 0 if you need to).
And if my own CLI would like to use other shell's commands , can 2
shell co-work , should I handle their system call to kernel myself ?
Well, if you don't know how "your own CLI" should work, I guess you have
some work ahead of you. This is not the place to discuss that though, it
has nothing to do with SSH, nor can SSH magically fix things for you
even if you modify the source. You could possibly use the "subsystem"
feature of SSH to start some other program than the user's login shell,
but I don't think it would go down well the user's of your device to
have to do something other than a "plain login".
--Per Hedeland
per@xxxxxxxxxxxx
.
- Follow-Ups:
- Re: Can we use self SSH server ?
- From: kid1972tw
- Re: Can we use self SSH server ?
- References:
- Can we use self SSH server ?
- From: kid1972tw
- Re: Can we use self SSH server ?
- From: Per Hedeland
- Re: Can we use self SSH server ?
- From: kid1972tw
- Can we use self SSH server ?
- Prev by Date: Re: Can we use self SSH server ?
- Next by Date: Re: Can we use self SSH server ?
- Previous by thread: Re: Can we use self SSH server ?
- Next by thread: Re: Can we use self SSH server ?
- Index(es):
Relevant Pages
|
|