Re: How set privilege to other users.



Gary li <liguoqiang_0121@xxxxxxxx> wrote:
Hi, all.
I am a newer for solaris. I had installed solaris in VMware and added
user with command 'adduser -d /export/home/xxx xxx' , but I could not
create any file in home path which name logined is xxx. It tell me no
any privilege. What can I do? appriciate any advice from any body.

You'd better set the user's home directory to /home/<username>.

/home is normally managed by the Solaris automounter. This is overkill
for single-user-machines. You can either remove the

/home auto_home -nobrowser

line from /etc/automaster and let the automounter re-scan its configuration
files (simply call "automount -v"), or add a line similar to

* -fstype=lofs :/export/home/& [1]

to your /etc/auto_home (and rerun "automount -v").

In the first case you can now create directories directly in /home, in the
second case you still create them in /export/home, but they get automacigally
mounted to /home when you login.

[1]
* localhost:/export/home/&
should also work, but I had some strange experience with this sort of entries
in the past (Solaris 8). Instead of lofs-mounting /export/home it tried an NFS
mount instead.

--
Daniel
.



Relevant Pages

  • Re: Please explain Suns thinking behind this
    ... however, who don't expect an automounter, don't know what an automounter ... These seem to be most new Solaris users these days. ... JS and the JET are really great, but the interactive installer sucks ... The sad thing is, the interactive installer is their very ...
    (comp.unix.solaris)
  • automountd and changed hostname and how to recover?
    ... I have figured out that at some point hostname of the machine was changed ... different than it mean on solaris and one of our roots didn't know that!) ... automounter ... I have tried restarting rpc and automountd, ...
    (comp.unix.solaris)
  • Re: Looking for an USB PCI Card for my Ultra 10
    ... which the Solaris automounter took care of with special tokens. ... Expressed in this posting are my opinions. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: a few problems
    ... > Under Solaris 9 or Solaris Express, I've ALWAYS had to kick the ... > automounter by hand if I added an account using useraddor by editing ... > automounter maps get updated automatically. ...
    (comp.unix.solaris)
  • Re: CDROM Mounting on Solaris 8
    ... Solaris 8 system. ... the automounter has always worked. ... For some reason, ... If not, is vold running? ...
    (comp.unix.solaris)