ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] политика безопасности
@ 2005-11-18 12:26 Serge
  2005-11-18 12:35 ` Epiphanov Sergei
  2005-11-18 12:36 ` Epiphanov Sergei
  0 siblings, 2 replies; 5+ messages in thread
From: Serge @ 2005-11-18 12:26 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Доброго дня всем.
Подскажите, как корректно настроить политику безопасности, чтоб 
локальному юзеру можно было выполнять su, sudo, etc...

конкретизирую проблему:
$ su -
-bash: /bin/su: Permission denied

$ ls -al /bin/su
-rws--x--- 1 root wheel 18960 Окт  4 18:33 /bin/su

$ id
uid=500(user1) gid=500(user1) 
группы=0(root),19(proc),22(cdrom),80(cdwriter),81(audio),83(radio),500(user1),504(wheel)

# cat su
#%PAM-1.0
auth     sufficient     pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" 
group.
#auth     sufficient    pam_wheel.so debug use_uid group=wheel trust
# Uncomment the following line to require a user to be in the "wheel" group.
#auth     required      pam_wheel.so debug use_uid group=wheel
# Uncomment the following line to implicitly trust users with same user id.
#auth     sufficient    pam_sameuid.so debug
auth     include        system-auth
account  include        system-auth
password required       pam_deny.so
session  include        system-auth
session  optional       pam_xauth.so


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-18 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 12:26 [sisyphus] политика безопасности Serge
2005-11-18 12:35 ` Epiphanov Sergei
2005-11-18 12:36 ` Epiphanov Sergei
2005-11-18 12:57   ` Serge
2005-11-18 14:52     ` Andrey Rahmatullin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git