Re: How set privilege to other users.
- From: "Daniel Rock" <v200648@xxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 13:23:21 +0000 (UTC)
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
.
- References:
- How set privilege to other users.
- From: Gary li
- How set privilege to other users.
- Prev by Date: Re: How set privilege to other users.
- Next by Date: Re: delelte dirs older than 2 hours by find with solaris 9
- Previous by thread: Re: How set privilege to other users.
- Next by thread: Determining the UNIX flavour and version from netboot filesets
- Index(es):
Relevant Pages
|