Cannot make sudoers change work


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cannot make sudoers change work
# 8  
Old 03-15-2012
What about the other users?

Try again by deleting your newuers line using visudo, then copy the line users4 (yy then p).
Then modify just the users name... and try again...

P.S.
I saw a case with Two version of sudo intalled, meaning 2 sudoers files, not in the same places... depending which sudo you used, you had the same message as you...

Forgot: The first thing you are to test as user is NOT sudo su - but sudo -l

Last edited by vbe; 03-15-2012 at 02:05 PM..
# 9  
Old 03-15-2012
Using visudo, I removed the new line and copied an existing one, changing only the username.
No change.

[newuser@zwork ~]$ sudo -l
[sudo] password for newuser:
Sorry, user newuser may not run sudo on zwork.
[newuser@zwork ~]$ sudo su -
[sudo] password for newuser:
newuser is not in the sudoers file.

Interesting idea - Two version of sudo intalled, meaning 2 sudoers files, not in the same places.
I will contact someone here and see if that could be the case...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Make OS to look for sudoers to different path

This is for Solaris-11. We have our customize sudoers to fulfill requirements and that is placed in /usr/local/etc/. Already removed /etc/sudoers, which comes with OS default. But OS it still looking for /etc/sudoers when I give sudo command. How to make him look into /usr/local/etc ?... (7 Replies)
Discussion started by: solaris_1977
7 Replies

2. Shell Programming and Scripting

Can't make chmod work

Can someone please help me with this I can't make it work? find /test -type f \( ! -perm -u+w -o -perm -g+w \) | egrep -v "/test/A|/test/B"|xargs chmod u+rw,g+r-w,o= I am getting error "Operation not permitted." I want to find files, exclude directory A & B and change permission on the... (2 Replies)
Discussion started by: Jang
2 Replies

3. Shell Programming and Scripting

How to make copy work faster

I am trying to copy a folder which contains a list of C executables. It takes 2 mins for completion,where as the entire script takes only 3 more minutes for other process. Is there a way to copy the folder faster so that the performance of the script will improve? (2 Replies)
Discussion started by: prasperl
2 Replies

4. UNIX for Dummies Questions & Answers

my make doesn't work

hi I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong? Thank you CC = cc all: es.o elaboration.o $(CC) -o es es.o elaboration.o elaboration.o:... (0 Replies)
Discussion started by: Puntino
0 Replies

5. Shell Programming and Scripting

how to make this work

hi, I have been trying to make my script work but could not, tried some of the suggestions from here but I am not getting the correct result. I have a script that was Param1 ="$1" Param2 ="$2" $Script1 log -t "$param1" "$param2" | grep operation > /dev/null || { echo "Message"... (1 Reply)
Discussion started by: rider29
1 Replies

6. Solaris

Can't make 'set DISPLAY' to work

Hi, I used exceed and putty in the past to HP server with no problem to make 'set DISPLAY' work on my desktop. However now I have Solaris 9 on Sun server 480 and I only have putty. I can't bring the X window (eg xclock, etc) to my desktop. I tried X11Fowarding, xhost, and so on, it doesn't... (5 Replies)
Discussion started by: jr_zhang
5 Replies

7. Shell Programming and Scripting

How to make this work

Dear All, I want acces my folder that name Log , that throught /export/home/hmi/bin/log. I want direct to Log folder. When I try using alias, i'm login as root: >alias logfile='cd /export/home/hmi/bin/Log' and when I execute > logfile this is work, but after I logout and login again as... (3 Replies)
Discussion started by: heru_90
3 Replies

8. Shell Programming and Scripting

nohup--how to make it work?

Hello gurus, I am facing an unusual problem while running nohup in shell scripts. i want to run two scripts simultaneously.In first script ,i take a backup of "nohup.out" & remove it .In second script,i state "nohup ./scriptname" but "nohup.out" is not getting generated ?? pls find attached... (1 Reply)
Discussion started by: abhijeetkul
1 Replies

9. UNIX for Dummies Questions & Answers

How to make sccs work

I am trying to use SCCS for project development . Can any one list out the basic setup nneded to be done for SCCS . I mean if I create a SCCS directory what all files to create on this . i don't have a root password of the system and I am not going to get one . I saw few post on this forum... (1 Reply)
Discussion started by: akrathi
1 Replies
Login or Register to Ask a Question