- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- An easy HP-UX question....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:37 AM
01-11-2002 01:37 AM
An easy HP-UX question....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:41 AM
01-11-2002 01:41 AM
Re: An easy HP-UX question....
can he not see them using ls -a or ll -a?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:41 AM
01-11-2002 01:41 AM
Re: An easy HP-UX question....
ls -al
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:42 AM
01-11-2002 01:42 AM
Re: An easy HP-UX question....
ls -a
You should add this alias to his/her .profile or .env:
alias ls="/bin/ls -FA"
To change the permissions on the .files:
chmod xxx .filename
chown to change ownership
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 01:51 AM
01-11-2002 01:51 AM
Re: An easy HP-UX question....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:00 AM
01-11-2002 02:00 AM
Re: An easy HP-UX question....
Check that ll and ls do not point elsewhere
alias|grep ll
alias |grep ls
whence ll ls
Try it with the full path name.
As root do
ll -d .
ll -d .*
check permissions.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:00 AM
01-11-2002 02:00 AM
Re: An easy HP-UX question....
If when logged in as root an ls -al on this directory shows .files, and when logged in as "user" an ls-al on this directory doesn't then it probably dut to:
The "user" does not have read permission on these files. To correct this as root run:
chmod o+r filename
This will give ALL user read on the files it's run on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:00 AM
01-11-2002 02:00 AM
Re: An easy HP-UX question....
All of the above is correct as far as seeing "hidden" files with ls. But you also mention "access" to them:-
1 - Make sure his home directory is owned by the user, as root do
# chown
e.g.
# chown fulfordt:users /home/fulfordt
2 - Make sure the permissions are correct
as root
# chmod u=rwx,g=rx,o=rx
or
# chmod 755
eg
# chmod 755 /home/fulfordt
3 - similar to 1 above make sure the user owns the .files
# chown
e.g
# chown fulfordt:users /home/fulfordt/.profile
4 - Similar to 2, Make sure the user has appropriate permissions to files:
# chown u=rw,g=r,o=r
or
# chmod 644
e.g
# chmod 644 /home/filfordt/.profile
All of the above allows the user to
o Read & write to .profile
o Change dir into their home dir & make files there
Personally I use useradd which does all of the above (+more) and all that I need to do is edit the .profile (if needed).
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:04 AM
01-11-2002 02:04 AM
Re: An easy HP-UX question....
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:11 AM
01-11-2002 02:11 AM
Re: An easy HP-UX question....
you don't need permissions for the files to see with ls -a, you need only permissions for the directory.
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:18 AM
01-11-2002 02:18 AM
Re: An easy HP-UX question....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:26 AM
01-11-2002 02:26 AM
Re: An easy HP-UX question....
How long is the username?
Check your /etc/passwd for duplicate username entry!
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:28 AM
01-11-2002 02:28 AM
Re: An easy HP-UX question....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:38 AM
01-11-2002 02:38 AM
Re: An easy HP-UX question....
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:40 AM
01-11-2002 02:40 AM
Re: An easy HP-UX question....
Does:
echo .*
show anything? Does it show "." and ".."?
Can you show us the output of ls -al .* when performed as root?
Thanks, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:44 AM
01-11-2002 02:44 AM
Re: An easy HP-UX question....
Thanks everyone for all your help, much appreciated....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 07:50 AM
01-11-2002 07:50 AM
Re: An easy HP-UX question....
Just :
# ls -a [dir]
and all "hidden" files will be "visible" .
Magdi