11-09-2012
How to give sudo entry in .profile file in Solaris?
Hi all,
In Solaris , What entry should I add in my .profile file in home directory so that every time I don't have to give
Sudo's full path like
/usr/local/bin/sudo as well as /usr/sbin/ping
and it will be Great help if you could tell me how to know what should be added.
Please Advice.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Solaris
hi folks,
I've been googling for quite some time, but still can't find anything near it...my problem is the following:
for useradministration in our company we are using ssh/sudo, now whenever I try to add users (we have quite a number of users) with useradd -G groupname for secondary group I... (4 Replies)
Discussion started by: poli
4 Replies
2. Solaris
Hi all,
Please help me how to configure the sudo for users and access for perticular
commands,groups ....etc.,
This help really appriciated
regards
Krishna (2 Replies)
Discussion started by: krishna176
2 Replies
3. Solaris
Hi all
I have created an alias for a running a script called script.sh as
alias utils="sh ~/script.sh".
Moreover i m using bash shell, even i have given the entry for alias in .profile in my home directory.I have given alias entry in crontab file as
30 12 * * * utils
... (1 Reply)
Discussion started by: naree
1 Replies
4. UNIX for Dummies Questions & Answers
Say I want to give someone access to /example/directory/* where * equals all the sub directories inside of /example/directory
I tried doing something like
joe DEV1=(ROOT) /example/directory/
But that doesn't seem to want to work. If I give him the full subdirectory... (3 Replies)
Discussion started by: LordJezo
3 Replies
5. UNIX for Dummies Questions & Answers
Does anyone know if this is possible?
I want to give some users access to root's crontab but only with a read privilege.
Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
Discussion started by: LordJezoX
4 Replies
6. UNIX for Advanced & Expert Users
I am running a serverapplication on a HP-UX machine where I need to handle some of the commands as a specified user called "druser".
When I log on as this user with the command;
sudo -u druser -sit starts an instance of the shell as that user.
However, it doesn't load that users .profile from... (1 Reply)
Discussion started by: ukiome
1 Replies
7. Shell Programming and Scripting
The .profile file should be read when the user logs in. So, there should be no need to execute .profile file again in a cron job (since the cron job is run after the user logs in). Doesn't the cron require login from the user. Then, from where does the cron execute? Please help!! (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
8. Solaris
Hi,
I am using solaris 10. Requirement is I need to give sudo access to the normal id's to the application userid.
Example:I have an personal id calle "rzynv5" on the solaris server.I have an application id called "gmdidp".Requirement here is when user logged in as rzynv5 next thing he... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
9. 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
10. 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
LEARN ABOUT DEBIAN
svscanboot
svscanboot(8) System Manager's Manual svscanboot(8)
NAME
svscanboot - starts svscan(8) in the /service directory, with output and error messages logged through readproctitle(8).
svscanboot is available in daemontools 0.75 and above.
SYNOPSIS
svscanboot
DESCRIPTION
svscanboot runs the pipeline
svscan /service 2>&1 | readproctitle service errors: .....
with 400 dots. The last 400 bytes of error messages from svscan(8) will be visible to ps(1) through readproctitle(8).
svscanboot sets $PATH to
/command:/usr/local/bin:/usr/local/sbin:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
(all in one line, no space)
and clears all other environment variables. Program writers are encouraged to use globally allocated names in /command.
SEE ALSO
supervise(8), svc(8), svok(8), svstat(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlocal(8),
setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8), ps(1)
http://cr.yp.to/daemontools.html
http://cr.yp.to/slashcommand.html
svscanboot(8)