09-30-2005
Yeah, surely that defeats the purpose of sudo?? If the users need the root password to use sudo, what's stopping them using that password to do
su - root -c "rm -rf /"
Cheers
ZB
10 More Discussions You Might Find Interesting
1. Linux
wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies
2. UNIX for Dummies Questions & Answers
Hi folks,
I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies
3. Solaris
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies
4. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
5. HP-UX
Tittle has it....
Thanks friends... (2 Replies)
Discussion started by: 300zxmuro
2 Replies
6. Solaris
Hi All
Hope it's okay to post on this sub-forum, couldn't find a better place
I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies
7. HP-UX
Hi All
I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file
Please help if some know the syntex? :confused::wall: (2 Replies)
Discussion started by: deviltech
2 Replies
8. 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
9. UNIX for Beginners Questions & Answers
i have tried to use a sudo command from a user level . but instead of asking for user password it asked for root password . how should i go about it .
james@opensuse:/etc> sudo ifconfig
root's password:
And i wish to ask how should i allow a list of command to be allowed to used for a... (4 Replies)
Discussion started by: lobsang
4 Replies
10. UNIX for Beginners Questions & Answers
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT OPENDARWIN
dialups
dialups(4) File Formats dialups(4)
NAME
dialups - list of terminal devices requiring a dial-up password
SYNOPSIS
/etc/dialups
DESCRIPTION
dialups is an ASCII file which contains a list of terminal devices that require a dial-up password. A dial-up password is an additional
password required of users who access the computer through a modem or dial-up port. The correct password must be entered before the user
is granted access to the computer. The set of ports that require a dial-up password are listed in the dialups file.
Each entry in the dialups file is a single line of the form:
terminal-device
where
terminal-device The full path name of the terminal device that will require a dial-up password for users accessing the computer
through a modem or dial-up port.
The dialups file should be owned by the root user and the root group. The file should have read and write permissions for the owner (root)
only.
EXAMPLES
Example 1: A sample dialups file.
Here is a sample dialups file:
/dev/term/a
/dev/term/b
/dev/term/c
FILES
/etc/d_passwd dial-up password file
/etc/dialups list of dial-up ports requiring dial-up passwords
SEE ALSO
d_passwd(4)
SunOS 5.10 4 May 1994 dialups(4)