Permission Problem


 
Thread Tools Search this Thread
Operating Systems Solaris Permission Problem
# 1  
Old 09-18-2006
Permission Problem

I ran the sys-unconfig command and now I can't seem to change the permission on that folder evne though I'm the Superuser(Root admin).

I need to fix this so the user 'tommy' can login and have his home directory working.

How do I fix this???

http://www3.telus.net/superstar/error.jpg
# 2  
Old 09-18-2006
Are home directories NFS mounted?

If so you neet to change that on the master server.

Also is tommy still in the passwd file?
# 3  
Old 09-19-2006
Quote:
Originally Posted by reborg
Are home directories NFS mounted?

If so you neet to change that on the master server.

Also is tommy still in the passwd file?
My drectories are not NFS mounted. Yes tommy is stll in the 'passwd' file.

Looks like /home/ is not on a local file system, why is that? I only have one hard drive and it's installed only the the Solaris partition.

How do I mount it on a local file system so I can get the user 'tommy' to work?thanks.
# 4  
Old 09-19-2006
/home is controlled by the automounter, delete the entry of /home in your /etc/auto_master and restart the automounter:

Code:
# touch /home/test
touch: /home/test cannot create
# vi /etc/auto_master

"/etc/auto_master" 6 lines, 113 characters
# Master map for automounter
#
+auto_master
/net            -hosts          -nosuid,nobrowse
#/home          auto_home       -nobrowse
/xfn            -xfn
#
#
# /etc/init.d/autofs stop
# /etc/init.d/autofs start
# touch /home/test
# rm /home/test

in solaris 10 you will need "svcadm restart svc:/system/filesystem/autofs"

regards pressy
# 5  
Old 09-19-2006
Quote:
#/home auto_home -nobrowse
I have done that cmd.

Quote:
# /etc/init.d/autofs stop
# /etc/init.d/autofs start
These two cmds are not found in my system.

Sorry I forgot to mention that my system is Solaris 10 6/06 x86. Thanks.
# 6  
Old 09-19-2006
in solaris 10 you will need "svcadm restart svc:/system/filesystem/autofs"

gP
# 7  
Old 09-19-2006
Thank you, you're awesome!!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem Permission denied cp -r

Hi I am administrator in unix I want make backup folder and file in root directory I use instruction Cp -r , But the system pear problem cp: cannot create regular file : Permission denied Can someone explain me what am I doing wrong??? please... find other instruction backup folder... (1 Reply)
Discussion started by: xactor
1 Replies

2. UNIX for Dummies Questions & Answers

SVN Permission problem

I am running subversion 1.6.6 on Ubuntu 10.04 (Lucid), Viewvc 1.0.9 and apache2 (2.2.14) and LDAP authentication. I have multiple repositories on my SVN server and it all working fine, however I am unable to set access control (permissions) using AuthzSVNAccessFile. “SVNParentPath... (0 Replies)
Discussion started by: hassan1
0 Replies

3. UNIX for Advanced & Expert Users

Cygwin permission problem

I can't figure out why cygwin won't let me write a file to this directory. Any ideas? $ id uid=1007(jdbaldwin) gid=513(None) groups=513(None),0(root),544(Administrators),545(Users) $ ls -lad . drwxrwxrwx+ 1 jdbaldwin None 0 2010-09-29 12:47 . $ touch x touch: cannot touch `x': Permission... (3 Replies)
Discussion started by: jdbaldwin
3 Replies

4. UNIX for Dummies Questions & Answers

Permission problem

How would i change permissions for a new directory so that i am the only one who has any access to any of the files created in it (2 Replies)
Discussion started by: trob
2 Replies

5. UNIX for Dummies Questions & Answers

Permission denied problem

I am trying to tidy our server and write cron to keep it tidy. We took on a third party to do some work last year. They were given their own UID/pwd so that they would have limited access. Part of what they wrote created an archive file at the end of every day. A year on and we don't want... (1 Reply)
Discussion started by: RexJacobus
1 Replies

6. Solaris

Rc script permission problem

Hi, I have written a startup script which has be started while reboot. I am using Solaris10 machine and i have logged in as a root user. I have written a code the following code cp ./StartService /etc/init.d/ chmod 744 /etc/init.d/StartService //i have given it executable permissions... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies

7. UNIX for Dummies Questions & Answers

file permission problem

Hello I have situation where with my user id (group x) I am able to view a file. However if su to another user (different group) I am not able to view. I get permission denied. The file has complete wide open permissions -rwxrwxrwx and I can also cd from root to the directory in which the file... (3 Replies)
Discussion started by: akumargolf2000
3 Replies

8. Linux

dos2unix permission problem

Hi All, I want to use the command "dos2unix" to format the file line break from win to unix, but after changing the file permission has been change to 600. how can i keep the original permisson after formatting? Many thz (2 Replies)
Discussion started by: eric_wong_ch
2 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Permission problem

I am having problems editing my options and profile etc. Whenever i do, i am getting a message that says I don't have any permissions. Can u tell me a solution. (2 Replies)
Discussion started by: rockyrak
2 Replies

10. UNIX for Dummies Questions & Answers

File permission problem

I have a crontab job that runs a database backup and directs the output to a log. I ran the job, and the output log file was created with no problems, but now if I try and run the same job again, I keep getting a file exists error. The permissions are: -rw-rw-r-- I also tried changing the... (2 Replies)
Discussion started by: jodie
2 Replies
Login or Register to Ask a Question