Alberto de_la_T Absent Member.
Absent Member.
1640 views

need help mapping to ext3

I've got a newly installed oes2 server with lum & ncp installed.

When I first login a user with ssh, they get a home directory created

/home/username

from a workstation with client32, I can do a

map root L:=.oes2_home.container:\username

This works when I am logged into the workstation as admin, but NOT when I am logged in as the user.

What have I missed?
Labels (2)
0 Likes
4 Replies
jmarton2 Absent Member.
Absent Member.

Re: need help mapping to ext3

On Wed, 25 Mar 2009 22:36:02 +0000, adelatorre wrote:

> I've got a newly installed oes2 server with lum & ncp installed.
>
> When I first login a user with ssh, they get a home directory created
>
> /home/username
>
> from a workstation with client32, I can do a
>
> map root L:=.oes2_home.container:\username
>
> This works when I am logged into the workstation as admin, but NOT when
> I am logged in as the user.


So judging from your subject is it safe to assume that oes2_home is an
NCP volume made from an ext3 partition? Do users have rights to their
home directories? Here's one way to check it from the server console:

ncpcon rights view vol_name:/path

It should give you something similar to this:

da1:~ # ncpcon rights view VOL1:/Users/jsmith
.... Executing " rights view VOL1:/Users/jsmith"
The following trustees have been assigned to VOL1:/Users/jsmith
[ RWECM F] .jsmith.LAX.DA


--
Joe Marton
Novell Knowledge Partner
Your Linux is ready.

Joe Marton Emeritus Knowledge Partner
0 Likes
Alberto de_la_T Absent Member.
Absent Member.

Re: need help mapping to ext3

jmarton;1763614 wrote:
On Wed, 25 Mar 2009 22:36:02 +0000, adelatorre wrote:

> I've got a newly installed oes2 server with lum & ncp installed.
>
> When I first login a user with ssh, they get a home directory created
>
> /home/username
>
> from a workstation with client32, I can do a
>
> map root L:=.oes2_home.container:\username
>
> This works when I am logged into the workstation as admin, but NOT when
> I am logged in as the user.


So judging from your subject is it safe to assume that oes2_home is an
NCP volume made from an ext3 partition? Do users have rights to their
home directories? Here's one way to check it from the server console:

ncpcon rights view vol_name:/path

It should give you something similar to this:

da1:~ # ncpcon rights view VOL1:/Users/jsmith
.... Executing " rights view VOL1:/Users/jsmith"
The following trustees have been assigned to VOL1:/Users/jsmith
[ RWECM F] .jsmith.LAX.DA


--
Joe Marton
Novell Knowledge Partner
Your Linux is ready.


Joe, actually oes2_home dir is on the root partition so it is reiserfs. I misspoke in my msg subject.

After doing an "ncpcon rights view", they do not have rights. I was under the impression that the posix rights to their home directories flowed through, or were mapped somehow to their nds file rights.

Is there some way to do this automatically, or am I going to have to manually assign rights to each users home directory?
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: need help mapping to ext3

On Thu, 26 Mar 2009 15:16:02 +0000, adelatorre wrote:

> After doing an "ncpcon rights view", they do not have rights. I was
> under the impression that the posix rights to their home directories
> flowed through, or were mapped somehow to their nds file rights.


I don't think so unless LUM somehow will do this.

> Is there some way to do this automatically, or am I going to have to
> manually assign rights to each users home directory?


You may be able to use a script to do this. Take a look at "ncpcon help
rights" for information on how to add rights from the command line.



--
Joe Marton
Novell Knowledge Partner
SUSE Linux Enterprise 11 is ready for action.

Joe Marton Emeritus Knowledge Partner
0 Likes
Alberto de_la_T Absent Member.
Absent Member.

Re: need help mapping to ext3

Joe,

can you tell me what controls the creation of the home directory the first time a user logs on to the oes2 server? i.e. what/where is the script that does that. Maybe I could just stick a line to add the rights in there.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.