Sponsored Content
Full Discussion: boot server - sudo
Operating Systems HP-UX boot server - sudo Post 302427559 by vbe on Monday 7th of June 2010 04:14:27 AM
Old 06-07-2010
I cannot remember if it is true for non trusted boxes (what model?) but at the time on the 2 10.20 I was in charge of, I configured via SAM the right for myself to reboot, and on trusted machines its vital! For if you had not done so and someone by trying to connect root (default = 3 times...) and failed you were stuck with a root account disabled.. (OK you can cheat if you have access and have a real console, but even then lets say someone changed root passwd and were not informed, you would be the one who will disable root account and have no possibilities to enable it...). Only way out is by rebooting - going single user...
That said, at the time I used to recompile sudo from source... in order to allow members of a chosen group to use sudo without passwd and timeout (for batches and for myself...). Was: Sudo version 1.5.9p4
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

server will not boot

Just got a new sun fire v440 server, try to boot server but server will not boot, got the following error message. "the file just loaded does not appear to be excutedable" boot: cannot open /kernel/sparcv9/unix Enter filename /kernel/sparcv9/unix I thought maybe server is not pre install... (3 Replies)
Discussion started by: hassan2
3 Replies

2. AIX

server won't boot

Hi all , i was trying to upgrade firmware on machine 7028-6E4 and it failed . Now machine does not boot anymore , i can not get SMC menu either ... What are my options ? Thanks, Rahim (1 Reply)
Discussion started by: rahim
1 Replies

3. Solaris

Boot server for solaris 10

Can any one give me the steps to configure a temporary boot server .. so that i can boot one of my failing server which does not have cdrom . I do not want to configure full fledge jumpstart box .. i need it just for recovery purpose. And i want to set it up in one of my other servers .. which... (10 Replies)
Discussion started by: fugitive
10 Replies

4. Solaris

boot server / install server

I have a compaq evo n400c. This computer has no cdrom or floppy drive. In order to boot from thumb drive i need to update bios. The only way to boot is network boot from my desktop. I am trying to follow a guide JumpStart Server Configuration ? Solaris 10 I am a bit confused at this steps. ... (3 Replies)
Discussion started by: kc2dws
3 Replies

5. UNIX for Advanced & Expert Users

Setup SUDO For a User on Linux Server

Hello! Can anyone please assist: Question: On Linux Server I have created two users John and Matt. I want to give both the users the ability to run 'more' and 'tail -f' commands on the log file in the directory /var/log/test.log. I do not want to give them SU rights. Can any one please... (6 Replies)
Discussion started by: sureshcisco
6 Replies

6. Red Hat

pxe boot server

Hi Hoping someone can help ove setup a pxe/dhcp boot server for auto installs on centos My server seems to be providing dhcp fine but the installation fails to progress when it reaches the pxe boot menu. I make my selection and nothing happens. I am serving the media via http from the same... (3 Replies)
Discussion started by: duckeggs01
3 Replies

7. Solaris

Server Hangs at boot

Hi Guys, I have a SunBlade 1500 which I use to practice at home. Suddenly when I power on the server it just displays the solaris banner and Boot device: disk File and args: Then it stops and says " rebooting with command: boot" It doesn't boot to the kernel. Is there anyway I can possibly... (5 Replies)
Discussion started by: cjashu
5 Replies

8. Red Hat

Moving boot SSD from a dead server to a new server

Hi all, We have a disk array that has the boot drive on an OCZ SSD on a PCIe card. Well, the motherboard died and we got a new motherboard. We moved the controllers, NICs, etc, to the exact same slots on the new motherboard, except now it won't boot. I guess it doesn't recognize the OS on the... (1 Reply)
Discussion started by: glowe57
1 Replies

9. Shell Programming and Scripting

Problem connect to a different server then do sudo login and finally run some scripts and get result

I have to write a shell script in my current linux server and I have to connect to a different server then do sudo login and finally run some scripts residing in a particular directory and get results back. I am starting to write my shell script as below but after I do ssh login it prompts for... (2 Replies)
Discussion started by: Devesh5683
2 Replies

10. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
NEWGRP(1)							   User Commands							 NEWGRP(1)

NAME
newgrp - log in to a new group SYNOPSIS
newgrp [-] [group] DESCRIPTION
The newgrp command is used to change the current group ID during a login session. If the optional - flag is given, the user's environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged. newgrp changes the current real group ID to the named group, or to the default group listed in /etc/passwd if no group name is given. newgrp also tries to add the group to the user groupset. If not root, the user will be prompted for a password if she does not have a password (in /etc/shadow if this user has an entry in the shadowed password file, or in /etc/passwd otherwise) and the group does, or if the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user is not listed as a member. If there is an entry for this group in /etc/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in /etc/group is considered. CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool: SYSLOG_SG_ENAB (boolean) Enable "syslog" logging of sg activity. FILES
/etc/passwd User account information. /etc/shadow Secure user account information. /etc/group Group account information. /etc/gshadow Secure group account information. SEE ALSO
id(1), login(1), su(1), sg(1), gpasswd(1), group(5), gshadow(5). shadow-utils 4.1.5.1 05/25/2012 NEWGRP(1)
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy