Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
09-25-2008 12:56 PM
09-25-2008 12:56 PM
Oracle:zArY01LC00zjo:110:1025:Oracle User:/export/home/Oracle:/bin/csh
dba::105:
I have done it incorrectly
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:07 PM
09-25-2008 01:07 PM
Re: Deleting
Could you also give me the complete command to create the user Oracle with Admin Previliges in the Group DBA .
And if u dont mind also the complete command to create the group DBA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:12 PM
09-25-2008 01:12 PM
Re: Deleting
or you can do it from sam. Please take care that it'll ask you if you want to delete users' files also. check the suitable option for you.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:22 PM
09-25-2008 01:22 PM
Re: Deleting
Now I want to create a user Oracle with admin previlages and assigne it to the group dba
Can anyone give me the command to do that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:27 PM
09-25-2008 01:27 PM
Re: Deleting
For creation regular user oracle with group dba use:
#useradd -g 105 oracle
for more options see the man page - http://docs.hp.com/en/B3921-90010/useradd.1M.html
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:28 PM
09-25-2008 01:28 PM
Re: Deleting
groupadd is the command to create new groups
if u want to add user with group
u can use useradd command
see man pages of useradd
otherwise
u can use sam also it is more easier.
for deleting group
u can use groupdel command
for deleting user
userdel -r then username
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:31 PM
09-25-2008 01:31 PM
Re: Deleting
Thank you.
User Oracle should be able to ftp.
Connected to 10.3.90.9.
220 MAHP01 FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT
2007) ready.
User (10.3.90.9:(none)): oracle
331 Password required for oracle.
Password:
230-No directory! Logging in with home=/
230 User oracle logged in.
ftp>
Could you suggest me to add something to it.
Also could u tell me where can I find sudo and how to install it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:39 PM
09-25-2008 01:39 PM
Re: Deleting
How can I manage it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 01:43 PM
09-25-2008 01:43 PM
Re: Deleting
you didn't specify a home directory when creating user. you would add user with -m option.
for sudo you can search sudo in software.hp.com
you'll download it from internet express package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 02:13 PM
09-25-2008 02:13 PM
Re: Deleting
/etc/ftpd/ftpusers file
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 07:34 PM
09-25-2008 07:34 PM
Re: Deleting
Oracle:zArY01LC00zjo:110:1025:Oracle User:/export/home/Oracle:/bin/csh
dba::105:
If you want to change the group id 1025 to 105 just open the /etc/passwd file and change the value from 1025 to 105 thats all.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 12:25 AM
09-26-2008 12:25 AM
Re: Deleting
"error 230-No directory" - seems like the directory '/export/home/Oracle' doesn't exist at your server.
Btw - that's one advantage of using SAM to create a user, you're asked if you want to create the home-dir. Mark this point, then you'll always be at the save side.
HTh
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 01:35 AM
09-26-2008 01:35 AM
Re: Deleting
I would like to delete the User Oracle and Group DBA
Oracle:zArY01LC00zjo:110:1025:Oracle User:/export/home/Oracle:/bin/csh
dba::105:
Considering there was typo for group
$Useradd -m -d /export/home/oracle -c "Oracle User" -s /bin/csh -u 110 -g 105 oracle
$passwd oracle
if you have already created the user buy its unable to find home directory
check if /export/home/oracle exist and has proper permission oracle:dba
then do
$usermod -d /export/home/oracle oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 01:38 AM
09-26-2008 01:38 AM
Re: Deleting
you do not need sudo as you do not need root privilege
I guess you mentioned admin privilege for oracle which you already have since oracle database is owned by user oracle
Regards,
Javed Khan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:14 AM
09-26-2008 05:14 AM
Re: Deleting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:25 AM
09-26-2008 05:25 AM
Re: Deleting
Is it ok to have.... two directories
$ pwd
/export/home
$ ll
total 0
drwxrwxrwx 2 oracle dba 96 Sep 25 19:18 Oracle
drwxrwxrwx 2 oracle dba 96 Sep 26 09:21 oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:30 AM
09-26-2008 05:30 AM
Re: Deleting
For setting permissions you need to use
chmod
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:31 AM
09-26-2008 05:31 AM
Re: Deleting
> How to give the user oracle read write and execute permissions
To what?
> I have two directories in /export/home with oracle & Oracle
OK.
> Is it ok to have.... two directories
Sure, what's the question?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:47 AM
09-26-2008 05:47 AM
Re: Deleting
you have had the user Oracle with the home-dir /export/home/Oracle - when you have deleted the user Oracle you can delete his old home-dir /export/home/Oracle too.
You SHOULD do it to get no confusion about this directory later (6 months, 1 year, ..).
You don't need it anymore.
> How to give the user oracle read write and execute permissions
You have to check which permissions user oracle needs - I believe in most cases user oracle gets his needed permissions by the installation tool.
So which permissions do you miss?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:54 AM
09-26-2008 05:54 AM
Re: Deleting
you have to check which home-directory you have annouced for user oracle (or is it Oracle?) - either you need /export/home/Oracle OR /export/home/oracle !
You want to make ftp - do we talk about two different servers?
How is the 'oracle-user' defined at both systems? Check carefully!
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 06:46 AM
09-26-2008 06:46 AM
Re: Deleting
# unzip
sh: unzip: not found.
But when I say man unzip it gives me
UNZIP(1L) Info-ZIP UNZIP(1L)
28 February 2005 (v5.52)
NAME
unzip - list, test and extract compressed files in a ZIP archive
SYNOPSIS
unzip [-Z] [-cflptTuvz[abjnoqsCKLMVWX$/:]] file[.zip] [file(s) ...]
[-x xfile(s) ...] [-d exdir]
DESCRIPTION
But neither the user oracle oracle is able to use unzip nor the root is able to use it.
# ll /usr/local/bin
total 3584
-rwxr-xr-x 1 root 1307 72376 Apr 10 2007 funzip
-rwxrwxrwx 2 root root 419692 Jun 30 12:56 sudo
-rwxrwxrwx 2 root root 419692 Jun 30 12:56 sudoedit
-rwxr-xr-x 2 root 1307 343096 Apr 10 2007 unzip
-rwxr-xr-x 1 root 1307 207264 Apr 10 2007 unzipsfx
-rwxr-xr-x 1 root 1307 1188 Apr 10 2007 zipgrep
-rwxr-xr-x 2 root 1307 343096 Apr 10 2007 zipinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 06:49 AM
09-26-2008 06:49 AM
Re: Deleting
/usr/local/bin/unzip
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 07:13 AM
09-26-2008 07:13 AM
Re: Deleting
/usr/local/bin/unzip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 07:13 AM
09-26-2008 07:13 AM