10-22-2008
Is there a way to find users who have sudo permissions for non root?
I want to check if in a host a set of persons have sudo access or not and I dont have root access to the host.
10 More Discussions You Might Find Interesting
1. Solaris
Hello gurus,
Is there a flag or switch that you can added to sudoers file to always have users type 'sudo' prior to running a command? (5 Replies)
Discussion started by: em23
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
how can I assign different permissions to different users in unix ?
I want to allow userA to read a specific folder and deny read permission to userB
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
3. Shell Programming and Scripting
Hi all,
I have to create SSH public key for multiple users.
Iam creating a script in which, through root, I have to switch to multiple accounts to create SSH keys and then transfer it to the respective servers.
First I tried with single user id and everything worked fine.
When I try to sudo... (1 Reply)
Discussion started by: deepakwins
1 Replies
4. UNIX for Advanced & Expert Users
I have to setup a sudo permission for a userA, so he can su to become userB and be able to do ONLY kill -9 on userB owned processes. (2 Replies)
Discussion started by: rizsyd
2 Replies
5. Cybersecurity
Hello,
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
-rw-r--r-- 1 root root 1966 May 19... (2 Replies)
Discussion started by: susja
2 Replies
6. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
7. UNIX for Dummies Questions & Answers
Anyone able to explain why if i run "sudo -i" or "sudo -s" i am able to get into root by just keying my own password?
How to avoid this from happening coz i need all the users to use su - only. (2 Replies)
Discussion started by: timmywong
2 Replies
8. Shell Programming and Scripting
Can some one please let me know a script which gives the user sudo permissions?
Thanks in advance.... (6 Replies)
Discussion started by: Revanth547
6 Replies
9. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
10. Red Hat
I have a set of RHEL 5 boxes running our ERP software on Oracle databases. I need to allow my DBA's to su to oracle and one other account (banner) without knowing the oracle or banner password. But I need to prevent them from su'ing to any other user especially root. I only want them to be able to... (1 Reply)
Discussion started by: westmoreland
1 Replies
LEARN ABOUT DEBIAN
sbuild-adduser
SBUILD-ADDUSER(8) Debian sbuild SBUILD-ADDUSER(8)
NAME
sbuild-adduser - add an sbuild user
SYNOPSIS
sbuild-adduser [-h|--help | -V|--version] USER1 [USER2 [USERn...]]
DESCRIPTION
sbuild-adduser adds the specified users to the sbuild group, granting them the privelege to build packages with sbuild(1). The schroot(1)
configuration must permit the user to obtain root permissions in the chroot via the root-users and root-groups options in schroot.conf,
because this is required to install and remove build-dependencies inside the chroot. This is normally done using the sbuild group, but
additional users or groups may be added in order to grant finer-grained permissions, for example to restrict individual users to particular
chroots.
OPTIONS
Actions
-h, --help
Display this manual.
-V, --version
Print version information.
User selection
USER The user to be granted sbuild access.
EXAMPLES
To allow user rleigh sbuild access:
% sudo sbuild-adduser rleigh
AUTHORS
Roger Leigh.
COPYRIGHT
Copyright (C) 2006-2008 Roger Leigh <rleigh@debian.org>.
SEE ALSO
sbuild(1), sbuild-setup(7), schroot.conf(5).
Version 0.63.2 18 Aug 2012 SBUILD-ADDUSER(8)