10 More Discussions You Might Find Interesting
1. Red Hat
Hi,
In my server I am getting below errors in "/var/log/messages":
Oct 8 14:45:44 LKOGOMEEMM01 kernel: type=1400 audit(1444295744.792:15818): avc: denied { write } for pid=53421 comm="ip" path="/var/VRTSvcs/log/tmp/IPMultiNIC-8" dev=dm-0 ino=2754879 scontext=system_u:system_r:ifconfig_t:s0... (4 Replies)
Discussion started by: rochitsharma
4 Replies
2. 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
3. HP-UX
Dear All,
I have Perl Script which previously running on solaris and now our system is moved to HP UX.
The script is creating the users on unix and database.
1. When we are creating the new user, useradd keep newly created account in locked state
2. In script we were using Passwd... (5 Replies)
Discussion started by: yadavricky
5 Replies
4. UNIX for Dummies Questions & Answers
hi guys
I'm having these problems with these commands and I have not idea why
# passwd
If 'passwd' is not a typo you can run the following command to lookup the package that contains the binary:
command-not-found passwd
-bash: passwd: command not found
# useradd temp
Warning:... (15 Replies)
Discussion started by: karlochacon
15 Replies
5. Shell Programming and Scripting
Hi All,
I wanted to write a shell script which will change the expired passwd in oracle. Here is below what I am trying,
#!/bin/sh
set -x
ORACLE_HOME="/optware/oracle/9.2.0.2_64"
SQLPLUS="${ORACLE_HOME}/bin/sqlplus"
PASS="xyz"
PATH=$ORACLE_HOME/bin:$PATH... (0 Replies)
Discussion started by: gr8_usk
0 Replies
6. Solaris
Hi Gurus,
i have ussers cannot change their passwords, neither can root change the user's password.
O.S. Solaris 8
up−to−date on security patchaes as far as I know.
Examples (names have been changed to protect the guilty):
User logged on:
$ passwd
passwd: Changing password for <user>... (8 Replies)
Discussion started by: raziayub
8 Replies
7. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
/etc/passwd file has write permission only for the root user.
Now when a normal user changes the its own password using passwd command, how this information has been written to the /etc/passwd file when the user is not having write permission to this file.
~santosh (2 Replies)
Discussion started by: santosh149
2 Replies
9. Programming
Hi i try to use the function putpwent to write a simple
entry in "/etc/passwd" putpwnet returns 0 as it works but
notething writes to /etc/passwd. What have i missed?
My os
--------
root@nighter-laptop:/home/nighter/labb# uname -a
Linux nighter-laptop 2.6.22-14-generic #1 SMP Sun Oct 14... (5 Replies)
Discussion started by: nighter
5 Replies
10. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies