From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Пользователь с урезанными возможностями - как сделать?
Date: Thu, 14 Aug 2008 23:05:19 +0400
Message-ID: <20080814190519.GE30818@altlinux.org> (raw)
In-Reply-To: <48A47DD5.8050208@kalina.in.ua>
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
* Yura Kalinichenko <yuk@> [080814 22:56]:
> > Что и где нужно прописать, чтобы в текстовой консоли этот пользователь
> > не мог залогиниться,
> echo "test -z \"$DISPLAY\" && exit" >> /home/guest/.bash_profile
> chown root.root /home/guest/.bash_profile
> chmod 0744 /home/guest/.bash_profile
От rm -f ~/.bash_profile это не спасает.
См. /etc/security/access.conf и
/usr/share/doc/Linux-PAM-*/modules/pam_access
--
Regards,
Sir Raorn.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-08-14 19:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 16:55 Olvin
2008-08-14 18:46 ` Led
2008-08-15 19:31 ` Olvin
2008-08-15 20:09 ` Led
2008-08-14 18:47 ` Yura Kalinichenko
2008-08-14 19:05 ` Alexey I. Froloff [this message]
2008-08-14 19:15 ` Led
2008-08-14 20:55 ` Yura Kalinichenko
2008-08-15 19:38 ` Olvin
2008-08-15 19:46 ` Olvin
2008-08-15 20:00 ` Владимир
2008-08-16 5:30 ` [Sysadmins] Пользователь с урезанными возможностями - как сделать?[JT] Vyatcheslav Perevalov
2008-08-16 22:42 ` Ivan Kuryaev
2008-08-19 10:29 ` Olvin
2008-08-19 18:36 ` Alexander Yereschenko
2008-08-19 10:28 ` [Sysadmins] Пользователь с урезанными возможностями - как сделать? Olvin
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=20080814190519.GE30818@altlinux.org \
--to=raorn@altlinux.ru \
--cc=sysadmins@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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git