From: Stavr <killkeny@yandex.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Выбор пользовательской оболочки при запуске ssh
Date: Tue, 19 Feb 2008 15:38:46 +0300
Message-ID: <1982871203424726@webmail34.yandex.ru> (raw)
In-Reply-To: 1620000000235210172
Это может сделать только root
19.02.08, 15:00, "Yury Aliaev" <mutab0r@rambler.ru>:
> Stavr scripsit:
> >>
> >>Отреактировать /etc/passwd ;)
> >
> > Во всех unix-подобных системах в файле /etc/passwd в строке, содержащей имя твоего пользователя, в последнем поле указываешь оболочку, которая будет запускатся при входе в систему. При чем не имеет значения, через ssh или с консоли.
> > Во FreeBSD, bash устанавливается вроде /usr/local/bin/bash
> > проверь, установлен ли bash
> >
> > pkg_info | grep bash
> >
> > если да, то проверь точный путь
> >
> > whereis bash
> >
> > и пропиши этот путь в нужную строку в /etc/passwd командой
> >
> > vipw
> >
> > При этот откроется vi, если не знаешь его выполни команду
> >
> > EDITOR=ee; export EDITOR
> >
> > или пропиш эту строку в файл ~/.profile
> >
> $ whereis bash
> bash: /bin/bash /usr/ports/shells/bash
> $ vipw
> vipw: /etc/master.passwd: Permission denied
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
prev parent reply other threads:[~2008-02-19 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 11:27 Yury Aliaev
2008-02-19 11:17 ` Vitaly Kuznetsov
2008-02-19 11:31 ` Stavr
2008-02-19 12:00 ` Yury Aliaev
2008-02-19 12:18 ` Глодин С.В.
2008-02-19 14:53 ` Yury Aliaev
2008-02-19 12:38 ` Stavr [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1982871203424726@webmail34.yandex.ru \
--to=killkeny@yandex.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git