Search Results

Search: Posts Made By: qfwfq
2,692
Posted By qfwfq
Tks, but that is giving me exactlly the same as...
Tks, but that is giving me exactlly the same as my script, I am looking for all home dir that do not have a user in /etc/passwd
2,692
Posted By qfwfq
home vs user
Hello,

I am trying to find out all users who still have a home dir but do not exist anymore in /etc/passwd file. Here is what I did but I am getting the opposit of what I want. Any suggestion?
...
Forum: HP-UX 03-25-2008
2,458
Posted By qfwfq
Activated accounts
Hello all,

I am trying to list all accounts that are still activated on a HP-UX trusted system. I have tried to do something with the modprpw command but can't think of any way. Can someone give...
Forum: HP-UX 08-22-2007
2
12,750
Posted By qfwfq
First, read the rules, no email. Second, here is...
First, read the rules, no email. Second, here is an example everyone will be able to look at:



GlancePlus C.0x.xx.00 13:36:09 xxxx ia64 Current Avg High...
5,794
Posted By qfwfq
HP-UX CSA Exam
Hey All,

I have bought some paper from the net... let's say in PDF format. They are some questions from that paper that says Explanation: pending. Send your suggestion tofeedback*****king.com ......
5,521
Posted By qfwfq
If you want to make sure that all users have 8...
If you want to make sure that all users have 8 caracters password after the change, you may need to force the change:

Linux
passwd -f
# passwd -f username

AIX
pwdadm - f

# pwdadm -f...
6,234
Posted By qfwfq
What Awadhesh is saying, is that you have to...
What Awadhesh is saying, is that you have to create a new user and make sure that new user has uid 0, same as root. But honestly, I would never do that on my system. See SUDO instead if you need to...
Forum: HP-UX 07-10-2007
16,408
Posted By qfwfq
I use cfg2html free tool. Really nice tool and...
I use cfg2html free tool. Really nice tool and you get lots of info on your system. We are running that tool before each major change on the system.

http://come.to/cfg2html
2,209
Posted By qfwfq
I get : USERHOME ./test[4]: USERHOME: not...
I get :

USERHOME
./test[4]: USERHOME: not found
/usr/local/utl/scripts...
2,209
Posted By qfwfq
Ok, I think I am not clear...sorry about that....
Ok, I think I am not clear...sorry about that. Rewind...

Into /etc/profile file there are some variables:

USERHOME=/test
ADMINHOME=/test2

Then if the user me has USERHOME string into it's...
2,209
Posted By qfwfq
That's correct... but I do that cd because I need...
That's correct... but I do that cd because I need to start an application from that dir and then exit the script. So that is the only reason why I need to cd to that dir. The cd does not work... in...
2,209
Posted By qfwfq
Variable
Ok, pretty hard to explain but I'll do my best.

Let's say MYVAR content is /home/me then

MYVAR=/home/me

I want to cd to that dir using the MYVAR variable.

Can't do cd $MYVAR even if I...
95,826
Posted By qfwfq
If you mean clear the whole content and remove...
If you mean clear the whole content and remove all lines inside the file then :

cat /dev/null > your_file

Make sure you know what you are doing because that really clears the content. The touch...
3
Sed
1,488
Posted By qfwfq
Sed
Hello all,

Just been looking into forum but couldn't find what I am looking for. I need to extract the content from a file that is between { } from any of these strings.

${C123QHOME}...
Forum: HP-UX 06-19-2007
9,028
Posted By qfwfq
The fact that you have a /tcb directory...
The fact that you have a /tcb directory structures usually indicates that this system is trusted. Also look at the password file, if there is no password and you see a * sign, then the system is...
Forum: HP-UX 06-18-2007
9,028
Posted By qfwfq
Is your HP-UX trusted System? If yes, NIS is not...
Is your HP-UX trusted System? If yes, NIS is not compatible with Trusted System, you have to use NIS+.
2,008
Posted By qfwfq
Add this to your share : force user =...
Add this to your share :

force user = user_account_name
force group = group_account_name

Restart Samba.
Forum: HP-UX 06-08-2007
9,963
Posted By qfwfq
As I suggest in your last post, you could specify...
As I suggest in your last post, you could specify the tray number or use -olegal option. Isn't working this way?
12,318
Posted By qfwfq
Search this forum and look at this : ...
Search this forum and look at this :

https://www.unix.com/showthread.php?t=28504
Forum: HP-UX 06-07-2007
6,571
Posted By qfwfq
Here is what I can tell you. They are many...
Here is what I can tell you. They are many options available for lp such as :

-onobanner
-otrayX
-olegal
-olandscape
-oc
-otmXX
-olpix
etc.

For ie., let's say you want to print using...
2,554
Posted By qfwfq
ifconfig -a netstat -in Network Config....
ifconfig -a
netstat -in
Network Config. manager (GUI)
Forum: HP-UX 12-13-2006
5,357
Posted By qfwfq
Recent HP-UX system does have a lan console that...
Recent HP-UX system does have a lan console that will do exactly the same as if you are in front of the console.
Forum: HP-UX 12-13-2006
10,378
Posted By qfwfq
Home dir for users
Hello all,

Most of our users have the same home directory, I know it's weird but it has been like this before me and we don't want to change that for now. When creating a new user using command...
2,718
Posted By qfwfq
From HP point of view (HP-UX CSA Official Study...
From HP point of view (HP-UX CSA Official Study Guide and Desk Reference book), HP-UX is based most directly on System V interface definition.
...
9,126
Posted By qfwfq
finger command
Hello all,

Here is what I am trying to do. If a user exist, then send an echo "EXIST" or else "DOES NOT EXIST". (under HP-UX)

Kind of:


#!/usr/bin/sh
USER=mylogin

finger $USER

if $?...
Showing results 1 to 25 of 130

 
All times are GMT -4. The time now is 04:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy