Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,

I have a folder called

home/system/xyz

now xyz has many sub directories  like abc , def
now abc has directories like lms, pqr etc

xyz is currently owned by me. problem is others cannot see xyz and its all subdirectories for possible issues on the server settings.
now i want to give ownership to xyz directory to ADMIN user say  crm and password say p@ssword so that all the team mates who has ADMIN crm  access can view and modify any directories and files within xyz no matter how deep they are.
how to give access to this one?
0
Free Tool: Path Explorer
LVL 10
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Experts - I’d like to create a Linux/Unix read-only-root role for Auditors, InfoSec and Tech Ops, so they can examine a system without risk of breaking anything.
-      Using sudo or Centrify, we can grant the privileges to run some commands as root, e.g.  ls, cat, cksum and tail –f
-      I don’t want to allow root privileges for e.g. find, view or more/less, as they can be used to modify a system

Creating the role is easy; Making it easy to use is harder
-      `sudo cat filename |less` would work fine – the `cat` is run as root, the `less` as the unprivileged user. I can create a little script utility called something like “Auditors_less” to remove the need to remember the syntax.
-      `dzdo cat filename > ~/my_copy_of_filename` would work for the same reason, and give them a local copy to work with. Call it “Auditors_cp” or just “Acp”
(`dzdo` is the Centrify equivalent to sudo)

Replacing the functionality of `find` is the part I can’t figure out. The output of `find` gives the full path to a file. `find` also allows you to select on ownership, permissions etc., but that part could be replaced by
`dzdo ls -l |grep {pattern}`

So a scriptlet that takes a starting directory as input and produces output in the form
/path/to/file      : ls –l output of file
would be great, as grep can filter the output, e.g. for globally writeable files/directories

I’ve found similar questions on formatting `ls -lR` output on stackoverflow.com, but no usable answers – general opinion seems to be…
0
Experts - I am in the process of configuring Solaris LDAP Client for 389 DS. I have created a profile as below -

dn: cn=shades, ou=profile,dc=my,dc=domain,dc=com
credentialLevel: proxy
serviceAuthenticationMethod: pam_ldap:tls:simple
defaultServerList: ldap.my.domain.com ldap2.my.domain.com
authenticationMethod: tls:simple
defaultSearchBase: dc=my,dc=domain,dc=com
objectClass: top
objectClass: DUAConfigProfile
cn: shades
serviceSearchDescriptor: passwd:ou=People,dc=my,dc=domain,dc=com?sub
serviceSearchDescriptor: shadow:ou=People,dc=my,dc=domain,dc=com?sub
serviceSearchDescriptor:
user_attr:ou=People,dc=my,dc=domain,dc=com?sub
serviceSearchDescriptor:
audit_user:ou=People,dc=my,dc=domain,dc=com?sub
serviceSearchDescriptor: group:ou=Group,dc=my,dc=domain,dc=com?sub

When I am running below script to initiate -

#ldapclient init -v -a profileName=shades -a domainName=example.com -a proxyDN="cn=proxyagent,ou=profile,dc=example,dc=com" -a proxyPassword="password" ldap.my.domain.com
Parsing profileName=shades
Parsing domainName=example.com
Parsing proxyDN=cn=proxyagent,ou=profile,dc=example,dc=com
Parsing proxyPassword=<password>
Arguments parsed:
        domainName: example.com
        proxyDN: cn=proxyagent,ou=profile,dc=example,dc=com
        profileName: shades
        proxyPassword: <password>
        defaultServerList: <ldap.my.domain.com>
Handling init option
About to configure machine by downloading a profile
Can not find the shades …
0
Hello

 I am trying to delete a file on my   " Windows 7 home premium Version 6.1 Build 7601 : Service Pack 1 " laptop. This file is an Windows ISO file that was being used as 2012 R2 OS DVD for VM I had build months ago on VMware workstation.

I have removed the VMs that is using the file . After that I have used  rmdir, deltree rmdir /S etc commands. I reboot the system and stops all VMware related processes and i rebooted again. Yet, I am still getting the following error message in the attachment. I Have also tried both from cdm and powershell with elevated privilege where the command available.

I think I need to delete a registry entry or better how can I forced to delete the file from system regardless the process that using it or anything in general related to the file preventing it from deletion  !

any ideas  ?

Please look at the attachment !
Capture.JPG
Capture2.JPG
Capture3.JPG
0
Hi,

I'm currently running Solaris and need to convert the following syntax from FreeBSD Gpart to Solaris Format.  I know Solaris has Gpart as well but will this format work on Solaris or does it have to be converted?  Also to note I'm not a Solaris, Linux, Red Hat, guru so please write out exactly what the syntax is or in detail how to go about this.  Also if someone could reference an article or let me know what the following means "-s  ,   -b   ,    -l    ,    -a  "

gpart create -s gpt disk1
gpart create -s gpt disk2

gpart add -t freebsd-zfs -b 2048 -a 4k -l log0 -s 500MB disk1
gpart add -t freebsd-zfs -b 2048 -a 4k -l log1 -s 500MB disk2

gpart add -t freebsd-zfs -a 4k -l cache0 disk1
gpart add -t freebsd-zfs -a 4k -l cache1 disk2

zpool add LumiPool log mirror gpt/log0 gpt/log1
zpool add LumiPool cache gpt/cache0 gpt/cache1

Thanks
0
Hi,
how to transfer
site booksmarks to shared bookmarks in winscp

please advise
0
Hi,

how to teach winscp remember password. Every time entering password is pain for me. please advise
0
what is meaning of root.
why i have to go to root. what i can do from root what i cannot do from root. what i can do using my user.
how unix allows logging in as different user say John when i logged in as say xyz

any online link or free video tutorials explaining all these concepts? an how to practice please advise
0
We tried to get google analytics included in a joomla website.  Had it in there from before, so just tried via plugin to insert a new google id code.  Broke website.  I tried commenting out the line- didn't work.  I tried defining the variable in configuration.php - didn't work.  Restored site from backup, but that didn't fix it.  This is for a small non-profit website.  We also recently upgraded joomla versions.
Thank you,
Laura
0
I have a server hp-ux with :
[root@csapdev01 ~]# swlist -l bundle|egrep -i "qpkbase|qpkapps|hwenable11i|feature11i"
  FEATURE11i            B.11.31.1209.383a Feature Enablement Patches for HP-UX 11i v3, September 2012
  HWEnable11i           B.11.31.1209.383a Hardware Enablement Patches for HP-UX 11i v3, September 2012
  QPKAPPS               B.11.31.1703.429a Applications Patches for HP-UX 11i v3, March 2017
  QPKBASE               B.11.31.1703.429a Base Quality Pack Bundle for HP-UX 11i v3, March 2017

With SAP installed, i want know the version of SAP kernel for verify there is patches (sap) which must be installed ?

Thks
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

We all know in VIOs we login through padmin account, when we login through that account and fire alias command I am getting an entry as alias r='fc -e -', but when I looked into the .profile file under /home/padmin I am not able to locate it's entry.

The same goes with /etc/profile, /etc/environment.

Could any one tell me where the entry made for all the alias entries other than the ones defined under /home/padmin/.profile?

Regards,
Praveen S A.
0
Hi Guys,

I need assistance please.

I previously asked a question about locking .sh_history file.
Got help and its locked now.

But now I have a new issue.
I got assigned an RBAC role (FSAdmin). When I am not in that role i can not access the .sh_history file at all, cant even view it, which is what i want, but as soon as I switch to the RBAC role that was assigned to me, I can access the file and modify it.

How do i fix this issue.
Would appreciate your help on this.
Thanks in advance.
1
Hello ,

Is there any way to check the netfilter queue is full ? how much cpu does it eating ?

Thank you
0
Hello,

I have a basic question regarding puppet.  Where does puppet master store the information regarding each host?
0
OS : Linux release 7
Recently we have installed some Oracle software on server.
This Dev server, out of total 20GB, it is taking around 10GB for swap as below.
                    total         used
Swap:          9207        9205


free -m shows presently 500 MB memory is free in OS.
Shall we go for Mem Upgrade or  Any alternate fix required to resolve this issue.

please advise
0
Hi,

I have user called xyz under that folder there is folder call test under that there is folder called abc, def, hij etc

i want to search to search in all above folders and subfolders for a particular keyword say " nullpointerexception " how t do that .
please advise
0
hi,

winscp how to sudo as admin?
I currently logged in as my user say xyz but i am not able to delete particulr folder/directory. I have to login or pseudo as admin user say rrr to that. how to psedo in the winscp to rrr user?pleaseadcise
0
Hi,

winscp how to compare 2 different unix users say xyz and abc by opening xyz on left hands side and abc on right hand side. As of now on the left hands side i was able to open my windows laptop folder structure like C drive etc and on right hands side i am able to open one unix user like abc or xyz etc. please advise
0
how to check if solaris server is virtual or physical?
if virtual how do i check what is the parent?
0
Concerto Cloud for Software Providers & ISVs
LVL 4
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

How to send a text/csv file from Redhat Linux server to a Windows 7 server using sftp and curl?  I was told that we do not have a sftp daemon on the Windows 7 server yet but would this work:

#!/bin/bash
# ===========================================================================
#
# Export report  
#
LOCALPATH="/tmp/data/"
USER="sftpuser"
PASS="password"
FTP="IP Address"
MODE="w"

FILENAME="test.txt"      
curl --disable-epsv --sftp-create-dirs -B -T  $LOCALPATH$FILENAME sftp://$USER:$PASS@$FTP/ServerDirectory/$FILENAME
0
hi

on the unix box various users like xyz, abc etc.

Looks like disk space is running out of server and i need to cleanup.

How to know how much user xyz occupying size and how much abc user is occupying size. please advise
0
I want to search on below error
java.io.FileNotFoundException:

I want to search on all the weblogic domian directory files and its sub directory files and sub sub directory files?
how to search all the way to great great grad child level?

please advise
0
In Solaris 11.3, how can I restrict an FTP user to their home directory?  I've tried setting their shell to /usr/lib/rsh, but that didn't work.

Thanks!
David
0
Hello,

I have used veritas cluster in the past, how does redhat cluster  heartbeat works? Do they setup using quorum disk or network ?
0
Hi Guys,

i was recently tasked with a task, I need to find out how to lock the .sh_history file on AIX so that users cant delete or modify the file.

The thing is we want to implement RBAC and assign roles to users but we also need to track what the users do while using that role and we need them to not be able to modify the history file.

I would really appreciate any feedback and tips.

Thank you in advance.
0

Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.