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
Discussions
Discussions
Forums
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
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
тАО05-16-2002 01:28 AM
тАО05-16-2002 01:28 AM
I've tried using the command :
#su -
to become a superuser. I do have root access to all machines.
I then tried modifying the permission settings of an active user's home directory, but it still printed :
chmod:joe :Operation not permitted
How do I overcome this problem?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 01:33 AM
тАО05-16-2002 01:33 AM
Re: su
I'm not quite clear about your question
If you do a grep on /etc/passwd, your user has userid 0 ?
#who am i
returns "root" before you do the chmod ?
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 01:33 AM
тАО05-16-2002 01:33 AM
Re: su
ie:
chmod o+r file_or_dir
chown joe:users file_or_dir
verify your user:
after su -
id
who am i
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 01:44 AM
тАО05-16-2002 01:44 AM
Re: su
is it NFS
Then you need to do this on the system which owns the home directories
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 02:02 AM
тАО05-16-2002 02:02 AM
Re: su
this sounds like this users home is on a mounted filesystem. If this is not exported with the root option to the workstation you are on you get this message.
You have to log into the machine which exports this filesystem. Do your modificatons there. Alternatively you can chane the options in /etc/exports to give root access to the workstation you are on.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 02:35 AM
тАО05-16-2002 02:35 AM
Re: su
I'm actually trying change a current user's home dir permissions from 755 to 777. It's residing on NFS. I tried :
chmod o+r joe
but it still produced a "Operation not Permitted" error msg.
I do not wish to change the owner as what Bill had suggested doing by using chown joe.
I had just tried with the following, and it worked! i.e:
#rlogin machine
#sudo su
By doing sudo su, I already have superuser access to all files/dirs.
I also did:
#sudo su - joe
and entered into joe's home dir with root priviliges.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 03:03 AM
тАО05-16-2002 03:03 AM
Re: su
HTH,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 03:52 AM
тАО05-16-2002 03:52 AM
SolutionIt is possible to export root permissions to your system--see man exports, but I would not recommend it.
Bill Hassell, sysadmin